source: orange/Orange/testing/regression/results_orange25/ensemble.py.linux2.2.7.crash.txt @ 9689:ef9a2d79f6e0

Revision 9689:ef9a2d79f6e0, 2.0 KB checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

New folder structure.

Line 
1Traceback (most recent call last):
2  File "/home/miha/work/orange/testing/regressionTests/xtest_one.py", line 97, in <module>
3    execfile(t__name)
4  File "ensemble.py", line 16, in <module>
5    results = Orange.evaluation.testing.cross_validation(learners, lymphography, folds=3)
6  File "/home/miha/work/orange/orange/Orange/misc/__init__.py", line 454, in wrap_call
7    return func(*args, **kwargs)
8  File "/home/miha/work/orange/orange/Orange/evaluation/testing.py", line 228, in cross_validation
9    store_examples=store_examples)
10  File "/home/miha/work/orange/orange/Orange/misc/__init__.py", line 454, in wrap_call
11    return func(*args, **kwargs)
12  File "/home/miha/work/orange/orange/Orange/evaluation/testing.py", line 295, in test_with_indices
13    results, classifiers = self.one_fold_with_indices(learners, examples, fold, indices, preprocessors, weight)
14  File "/home/miha/work/orange/orange/Orange/evaluation/testing.py", line 326, in one_fold_with_indices
15    results = self._test_on_data(classifiers, test_set, testset_ids)
16  File "/home/miha/work/orange/orange/Orange/evaluation/testing.py", line 669, in _test_on_data
17    result = classifier(ex2, Orange.core.GetBoth)
18  File "/home/miha/work/orange/orange/Orange/ensemble/boosting.py", line 136, in __call__
19    index = Orange.misc.selection.selectBestIndex(votes)
20  File "/home/miha/work/orange/orange/Orange/misc/__init__.py", line 526, in wrapped
21    return func(*args, **kwargs)
22  File "/home/miha/work/orange/orange/Orange/misc/__init__.py", line 454, in wrap_call
23    return func(*args, **kwargs)
24  File "/home/miha/work/orange/orange/Orange/misc/selection.py", line 209, in select_best_index
25    bs=BestOnTheFly(compare, seed, call_compare_on_1st)
26  File "/home/miha/work/orange/orange/Orange/misc/__init__.py", line 454, in wrap_call
27    return func(*args, **kwargs)
28  File "/home/miha/work/orange/orange/Orange/misc/selection.py", line 105, in __init__
29    self.randomGenerator = random.Random(seed)
30AttributeError: 'module' object has no attribute 'Random'
Note: See TracBrowser for help on using the repository browser.