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,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
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: open-mmlab/mmcv
Commit Name: 978ecfda84d59435dd93be6aa3ceee313e997f6c
Time: 2018-08-27
Author: chenkaidev@gmail.com
File Name: mmcv/video/optflow.py
Class Name:
Method Name: quantize_flow
Project Name: pfnet/optuna
Commit Name: 34cdfb847c801f40bf6a94151f8d5ac8e1a7f2c5
Time: 2020-03-29
Author: contact@c-bata.link
File Name: optuna/samplers/cmaes.py
Class Name:
Method Name: _to_optuna_param