Orange Forum • View topic - c_performance.htm - page problems

c_performance.htm - page problems

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

c_performance.htm - page problems

Postby ryuuguu » Thu Jun 02, 2005 9:02

The script accuracy3.py checks accuracy against the whole data set not the test half.
http://www.ailab.si/orange/doc/ofb/c_performance.htm
http://www.ailab.si/orange/doc/ofb/accuracy3.py

line 32 should be
acc = accuracy(test_data, classifiers)
not
acc = accuracy(data, classifiers)

in accuarcy4.py
there is
orange.setrandseed(0)
which causes a run time error since setrandseed(0) is not in the 20050601 snapshot. (or least not when I compiled it on my machine)

but in the text with it removed I get the same results on each run.

accuracy5.py, accuracy6.py and roc.py also have orange.setrandseed(0)
but I don't think it is needed - they seem to work fine without it.

accuracy7.py finds another definition problem
def learningCurveN(learners, examples, folds=10, strat=orange.MakeRandomIndices.StratifiedIfPossible, proportions=orange.frange(0.1), pps=[], **argkw):
orange.frange() is not defined in the snapshot I am using.

Cheers,
Grant
P.S. having great fun with orange

Return to Bugs