Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/o/r/Orange-2.7.2/docs/reference/rst/code/misc-selection-bestonthefly.py   Orange(Download)
    find_best.candidate(Orange.feature.scoring.GainRatio(attr, lymphography))
 
best_index = find_best.winner_index()
print "%5.3f: %s" % (find_best.winner(), lymphography.domain[best_index])
 

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_selection.py   Orange(Download)
        self.assertIsInstance(winner, tuple)
 
        index = best.winner_index()
        self.assertIsInstance(index, int)
 
        self.assertIsInstance(winner, tuple)
 
        index = best.winner_index()
        self.assertIsInstance(index, int)