ec396411be11d514a44a18813278f3a41c73ac5f,deslib/dcs/base.py,DCS,__init__,#DCS#Any#Any#Any#Any#Any#Any#Any#Any#Any#,69

Before Change


        if not isinstance(diff_thresh, float):
            raise TypeError("The parameter diff_thresh should be a float. diff_thresh = ", diff_thresh)

        if diff_thresh >= 0.5 or diff_thresh < 0.0 or np.isnan(diff_thresh):
            raise ValueError("diff_thresh should be lower than 0.5. diff_thresh = ", diff_thresh)

        super(DCS, self).__init__(pool_classifiers, k, DFP=DFP, with_IH=with_IH,
                                  safe_k=safe_k, IH_rate=IH_rate)
        self.selection_method = selection_method
        self.diff_thresh = diff_thresh

After Change


    10th Int. Conference on Image Analysis and Proc., Venice, Italy (1999), 659-664.

    R. M. O. Cruz, R. Sabourin, and G. D. Cavalcanti, “Dynamic classifier selection: Recent advances and perspectives,”
    Information Fusion, vol. 41, pp. 195 – 216, 2018.

    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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


Project Name: Alexander-H-Liu/End-to-end-ASR-Pytorch
Commit Name: 41a3e20440c61f4892d7731f89032b53932cce66
Time: 2019-08-14
Author: alexliu36@gmail.com
File Name: src/solver.py
Class Name: Solver
Method Name: write_log


Project Name: Ambrosys/glyph
Commit Name: b25ea4418ee72f673a67615a32f866bd1fc6e1d7
Time: 2017-02-20
Author: mquade@uni-potsdam.de
File Name: glyph/assessment.py
Class Name:
Method Name: replace_nan