Orange Forum • View topic - orngEnsemble.py IndentationError

orngEnsemble.py IndentationError

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.

orngEnsemble.py IndentationError

Postby jgilbert » Mon Nov 28, 2005 16:30

IndentationError: ('expected an indented block', ('/usr/lib/python2.3/site-packages/orange/orngEnsemble.py', 15, 3, 'inf = 100000\n'))

Lines 9-15:
Code: Select all
def boostrapSample(examples, rand, returnOutOfBag=0):


########################################################################
# Boosting

inf = 100000

Normally I just put pass as the definition of boostrapSample.

Postby Blaz » Wed Nov 30, 2005 9:35

i do not know why "boostrapSample" was there -- i removed it and submitted orngEnsamble.py to CVS (works fine w/o it). thanks!


Return to Bugs