7d69707e1d6f2b04e46229429b3001c843d846e9,libact/query_strategies/hintsvm.py,HintSVM,__init__,#HintSVM#,78

Before Change


                )

        // svm solver parameters
        self.svm_params = kwargs.pop("svm_params", {})
        self.svm_params["C"] = self.cl

    def update(self, entry_id, label):
        pass

After Change



        // svm solver parameters
        self.svm_params = {}
        self.svm_params["kernel"] = kwargs.pop("kernel", "linear")
        self.svm_params["degree"] = kwargs.pop("degree", 3)
        self.svm_params["gamma"] = kwargs.pop("gamma", 0.1)
        self.svm_params["coef0"] = kwargs.pop("coef0", 0.)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ntucllab/libact
Commit Name: 7d69707e1d6f2b04e46229429b3001c843d846e9
Time: 2016-03-15
Author: yangarbiter@gmail.com
File Name: libact/query_strategies/hintsvm.py
Class Name: HintSVM
Method Name: __init__


Project Name: numenta/NAB
Commit Name: 4d0e2271a42a65297d7a1735225a607b17765cf1
Time: 2016-03-09
Author: alexdlavin@gmail.com
File Name: nab/detectors/numenta/numenta_detector.py
Class Name: NumentaDetector
Method Name: initialize


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 77c70bcb7c01ed1f320badba4e0001c88edb0bec
Time: 2019-07-19
Author: umairidris@google.com
File Name: deploy/create_project.py
Class Name:
Method Name: setup_project