8ea6f4e142a345881dc45df5269261e1737a946a,tgen/classif.py,TreeClassifier,_training_pass,#TreeClassifier#Any#,113

Before Change


            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]))

            result = self.classif.classif([self.X[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)),
                               pass_cost, pass_diff)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

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: ef4b6aebffc902a2f4f8b3232fe2ee7e77b6dd9f
Time: 2015-11-13
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/classif.py
Class Name: TreeClassifier
Method Name: _training_pass


Project Name: nipy/dipy
Commit Name: 5769051e69929a4a0517b97cd41c8b260c489881
Time: 2016-08-03
Author: garyfallidis@gmail.com
File Name: dipy/segment/tests/test_mrf.py
Class Name:
Method Name: test_greyscale_iter