f8175e0221bbf31ffc8c10ee809b7ee2e118362d,oddt/scoring/functions/RFScore.py,rfscore,train,#rfscore#,93
Before Change
print("Training RFScore v%i on PDBBind v%i"
% (self.version, pdbbind_version), file=sys.stderr)
error = rmse(self.model.predict(self.test_descs), self.test_target)
r2 = self.model.score(self.test_descs, self.test_target)
r = np.sqrt(r2)
print("Test set:",
"R**2: %.4f" % r2,
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:
print("%s set:" % name,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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: librosa/librosa
Commit Name: c8280cd73ec4782188ab1d8d4d7f4ce349a07f6a
Time: 2016-11-02
Author: brian.mcfee@nyu.edu
File Name: librosa/effects.py
Class Name:
Method Name: trim