ec396411be11d514a44a18813278f3a41c73ac5f,deslib/des/meta_des.py,METADES,__init__,#METADES#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,86

Before Change


        self.Hc = Hc
        self.selection_threshold = selection_threshold

        if meta_classifier is None:
            warnings.warn("No classifier model passed for the Meta-Classifier. Using a Naive Bayes instead")
            self.meta_classifier = MultinomialNB()
        else:
            self.meta_classifier = meta_classifier

        self.op_knn = None
        self.n_meta_features = (self.k * 2) + self.Kp + 2

    def fit(self, X, y):

After Change


    Cruz, R.M., Sabourin, R., Cavalcanti, G.D. and Ren, T.I., 2015. META-DES: A dynamic ensemble selection framework
    using meta-learning. Pattern Recognition, 48(5), pp.1925-1935.

    Cruz, R.M., Sabourin, R. and Cavalcanti, G.D., 2015, July. META-des. H: a dynamic ensemble selection technique
    using meta-learning and a dynamic weighting approach. In Neural Networks (IJCNN), 2015 International Joint
    Conference on (pp. 1-8).

    R. M. O. Cruz, R. Sabourin, and G. D. Cavalcanti, “Dynamic classifier selection: Recent advances and perspectives,”
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: scikit-learn-contrib/DESlib
Commit Name: ec396411be11d514a44a18813278f3a41c73ac5f
Time: 2018-09-23
Author: Natlem@users.noreply.github.com
File Name: deslib/des/meta_des.py
Class Name: METADES
Method Name: __init__


Project Name: rusty1s/pytorch_geometric
Commit Name: 2824bccbb4817467cf63283f5366f4134949d0b4
Time: 2019-06-10
Author: ekagra.ranjan@gmail.com
File Name: benchmark/kernel/gin.py
Class Name: GIN0WithJK
Method Name: __init__


Project Name: pyannote/pyannote-audio
Commit Name: ce2264ddefcb0a38fc225b7001e9c24eb3f343dc
Time: 2020-03-13
Author: bredin@limsi.fr
File Name: pyannote/audio/labeling/tasks/base.py
Class Name: LabelingTaskGenerator
Method Name: __init__


Project Name: has2k1/plotnine
Commit Name: d61852b93c266d88578beab47d262801cf7dd99b
Time: 2013-10-19
Author: greg@yhathq.com
File Name: ggplot/geoms/facet_wrap.py
Class Name: facet_wrap
Method Name: __radd__