Hello,

Real quick: Besides "None", what other arguments can you input for "combiner=???" in a sensitivity analyzer for a feature selection classifier? I see that it's supposed to be a "functor", whatever that is, but some examples would be very helpful.

Cheers,

Mark

splitter = NFoldSplitter(cvtype=1)
rfesvm_split = SplitClassifier(LinearCSVMC(),splitter)
FtSelClf = FeatureSelectionClassifier(
        # use a linear SVM classifier:
        clf = LinearCSVMC(),
        # on features selected via RFE
        feature_selection = RFE(
                # based on sensitivity of a clf which does splitting internally
sensitivity_analyzer=rfesvm_split.getSensitivityAnalyzer(combiner=<??? >,transformer=absolute)
                transfer_error=ConfusionBasedError(
                        rfesvm_split,
                        confusion_state="confusion"),
                # and whose internal error we use
                feature_selector=FractionTailSelector(
                        0.2, mode='discard', tail='lower'),
                # remove 20% of features at each step
                enable_states=['feature_ids'],
                # update sensitivity at each step
                update_sensitivity=True),
        descr='LinSVM+RFE(splits_avg)')

~~~~~~~~~~~~~~~~~~~~~~~~~~

Mark Lescroart
(say it LESS-qua)

University of Southern California
Neuroscience Graduate Program
Image Understanding Lab
Email: [email protected]
Cell: (213) 447-0752

_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to