71621ee79dee937b5a70dc40588342f5a54b60fb,mvpa2/featsel/rfe.py,RFELearner,_train,#RFELearner#Any#,363

Before Change



        // Now perform 2nd RFE -- until optimal_n
        // so we should provide an alternative stopping criterion
        self._mclf = FeatureSelectionClassifier(
            self.clf,
            RFE(sens_ana,
                None, // we do not have anything to transfer to
                Repeater(2),
                fselector=self.fselector,
                train_pmeasure=False,
                stopping_criterion=None,
                nfeatures_min=nfeatures_min,
                update_sensitivity=True,
                enable_ca=["nfeatures"]))
        self._mclf.train(dataset)

    def _untrain(self):
        super(RFELearner, self)._untrain()
        if self._mclf is not None:

After Change


            debug("RFEC", "Stage 2: running RFE on full training dataset to "
                  "distil best %d features" % nfeatures_min)

        super(SplitRFE, self)._train(dataset)


    def _untrain(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: 71621ee79dee937b5a70dc40588342f5a54b60fb
Time: 2012-10-31
Author: debian@onerussian.com
File Name: mvpa2/featsel/rfe.py
Class Name: RFELearner
Method Name: _train


Project Name: RaRe-Technologies/gensim
Commit Name: 4b8a1c0f6439e6acfabb4419d8f4f8842e284106
Time: 2018-01-11
Author: mnsn1970@gmail.com
File Name: gensim/models/fasttext.py
Class Name: FastText
Method Name: train


Project Name: kengz/SLM-Lab
Commit Name: c4c9a3a18d9cd3f0e1cd7e54cf5ac12d6f9d3645
Time: 2018-08-17
Author: kengzwl@gmail.com
File Name: slm_lab/agent/algorithm/actor_critic.py
Class Name: ActorCritic
Method Name: calc_pdparam