5890bf32602d818e33c7e0fe4c24bffedc849c9e,cheml/wrappers/sklearn_skl/sklearn_wrapper.py,evaluate_regression,fit,#evaluate_regression#,1108
Before Change
self._reg_evaluate(dfy, dfy_pred, self.evaluator)
evaluation_results_ = self.results
self.Base.send[(self.iblock, token)] = [pd.DataFrame(evaluation_results_), order.count(token),
(self.iblock,token,self.Host,self.Function)]
else:
msg = "@Task //%i(%s): non valid output token "%s"" % (self.iblock+1, self.SuperFunction, token)
After Change
self.Base.send[(self.iblock, token)] = self.outputs[token]
elif token == "evaluation_results_":
// step1: check inputs
self.required("dfy", req=True)
self.required("dfy_pred", req=True)
// step3: check the dimension of input data frame
dfy, _ = self.data_check("dfy", dfy, ndim=2, n0=None, n1=None, format_out="df")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: hachmannlab/chemml
Commit Name: 5890bf32602d818e33c7e0fe4c24bffedc849c9e
Time: 2017-09-16
Author: mojtabah@buffalo.edu
File Name: cheml/wrappers/sklearn_skl/sklearn_wrapper.py
Class Name: evaluate_regression
Method Name: fit
Project Name: hachmannlab/chemml
Commit Name: 1672b5a9a47b081aa3e61c9f2ca76fae26ed8730
Time: 2017-11-12
Author: mojtabah@buffalo.edu
File Name: cheml/wrappers/cheml_cml/cheml_wrapper.py
Class Name: RDKitFingerprint
Method Name: fit
Project Name: hachmannlab/chemml
Commit Name: 1672b5a9a47b081aa3e61c9f2ca76fae26ed8730
Time: 2017-11-12
Author: mojtabah@buffalo.edu
File Name: cheml/wrappers/cheml_cml/cheml_wrapper.py
Class Name: DistanceMatrix
Method Name: fit