ad2ba62d566175ea3c218f9413262fd3c7c222cc,src/skmultiflow/neural_networks/perceptron.py,PerceptronMask,get_info,#PerceptronMask#,133

Before Change


        fit_int = "True" if fit_int else "False"
        shuffle = params["shuffle"]
        shuffle = "True" if shuffle else "False"
        return "Perceptron: penalty: " + penalty + \
               "  -  alpha: " + str(round(params["alpha"], 3)) + \
               "  -  fit_intercept: " + fit_int + \
               "  -  n_iter: " + str(params["n_iter"]) + \
               "  -  shuffle: " + shuffle

After Change



    def get_info(self):
        params = self.classifier.get_params()
        info = type(self).__name__ + ":"
        info += " - penalty: {}".format( params["penalty"])
        info += " - alpha: {}".format(params["alpha"])
        info += " - fit_intercept: {}".format(params["fit_intercept"])
        info += " - max_iter: {}".format(params["max_iter"])
        info += " - tol: {}".format(params["tol"])
        info += " - shuffle: {}".format(params["shuffle"])
        info += " - eta0: {}".format(params["eta0"])
        info += " - warm_start: {}".format(params["warm_start"])
        info += " - class_weight: {}".format(params["class_weight"])
        info += " - n_jobs: {}".format(params["n_jobs"])
        return info

    def reset(self):
        self.__init__(penalty=self.penalty,
                      alpha=self.alpha,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 16

Instances


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: ad2ba62d566175ea3c218f9413262fd3c7c222cc
Time: 2018-09-10
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/neural_networks/perceptron.py
Class Name: PerceptronMask
Method Name: get_info


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 48d6966bf782c9af8b87b92114ecdf3619bac70d
Time: 2018-09-10
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/utils/file_scripts.py
Class Name: RemoveHeader
Method Name: get_info


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 8bfbc083bcd2b70be6f1df48ed138255b2e5740b
Time: 2019-03-12
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/drift_detection/ddm.py
Class Name: DDM
Method Name: get_info