8ea6f4e142a345881dc45df5269261e1737a946a,tgen/classif.py,TreeClassifier,_training_pass,#TreeClassifier#,113
Before Change
for tree_no in self.train_order:
log_debug("TREE-NO: %d" % tree_no)
log_debug(str(self.train_trees[tree_no]))
log_debug(str(self.train_das[tree_no]))
log_debug("X: " + str(self.X[tree_no]))
log_debug("Y: " + str(self.y[tree_no]))
After Change
log_debug("DIFF: %d" % np.sum(np.abs(self.y[tree_nos] - bin_result)))
pass_cost += cost_gcost[0]
pass_diff += np.sum(np.abs(self.y[tree_nos] - bin_result))
// print and return statistics
self._print_pass_stats(pass_no, datetime.timedelta(seconds=(time.time() - pass_start_time)),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: UFAL-DSG/tgen
Commit Name: 8ea6f4e142a345881dc45df5269261e1737a946a
Time: 2015-11-13
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/classif.py
Class Name: TreeClassifier
Method Name: _training_pass
Project Name: UFAL-DSG/tgen
Commit Name: 89cb97fe8802687fb67a3a636f5c50a764b41e34
Time: 2014-08-20
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/rank.py
Class Name: PerceptronRanker
Method Name: train
Project Name: UFAL-DSG/tgen
Commit Name: ef4b6aebffc902a2f4f8b3232fe2ee7e77b6dd9f
Time: 2015-11-13
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/classif.py
Class Name: TreeClassifier
Method Name: _training_pass