source: orange/Orange/testing/regression/results/orange/orange25/svm-easy.py.linux2.2.7.crash.txt @ 9679:3879dea56188

Revision 9679:3879dea56188, 1.7 KB checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Moved and renamed testing.

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 "svm-easy.py", line 12, in <module>
5    results = testing.cross_validation(learners, table, folds=5)
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 322, in one_fold_with_indices
15    classifiers = [learner(learn_set, weight) for learner in learners]
16  File "/home/miha/work/orange/orange/Orange/classification/svm/__init__.py", line 326, in __call__
17    return self.learn_classifier(examples)
18  File "/home/miha/work/orange/orange/Orange/classification/svm/__init__.py", line 516, in learn_classifier
19    verbose=self.verbose))
20  File "/home/miha/work/orange/orange/Orange/optimization/__init__.py", line 339, in __call__
21    callCompareOn1st = True)
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 105, in __init__
25    self.randomGenerator = random.Random(seed)
26AttributeError: 'module' object has no attribute 'Random'
Note: See TracBrowser for help on using the repository browser.