f8175e0221bbf31ffc8c10ee809b7ee2e118362d,oddt/scoring/functions/RFScore.py,rfscore,train,#rfscore#Any#Any#Any#,93
Before Change
error = rmse(self.model.predict(self.train_descs), self.train_target)
oob_error = rmse(self.model.oob_prediction_, self.train_target)
r2 = self.model.score(self.train_descs, self.train_target)
r = np.sqrt(r2)
print("Train set:",
"R**2: %.4f" % r2,
"R: %.4f" % r,
After Change
sets = [
("Test", self.model.predict(self.test_descs), self.test_target),
("Train", self.model.predict(self.train_descs), self.train_target),
("OOB", self.model.oob_prediction_, self.train_target)]
for name, pred, target in sets:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: oddt/oddt
Commit Name: f8175e0221bbf31ffc8c10ee809b7ee2e118362d
Time: 2018-02-08
Author: maciek@wojcikowski.pl
File Name: oddt/scoring/functions/RFScore.py
Class Name: rfscore
Method Name: train
Project Name: oddt/oddt
Commit Name: f8175e0221bbf31ffc8c10ee809b7ee2e118362d
Time: 2018-02-08
Author: maciek@wojcikowski.pl
File Name: oddt/scoring/functions/NNScore.py
Class Name: nnscore
Method Name: train
Project Name: scikit-optimize/scikit-optimize
Commit Name: 45ffcc4d387da3e767ea675640f411dbea349ff0
Time: 2017-06-28
Author: iaroslav.email@gmail.com
File Name: skopt/wrappers/scikit_learn.py
Class Name:
Method Name: