Orange Forum • View topic - SVM and attribute selection

SVM and attribute selection

A place to ask questions about methods in Orange and how they are used and other general support.

SVM and attribute selection

Postby Guest » Sun Sep 09, 2007 22:05

dear all,

I've been trying to setup a filtered learner for SVM:

learner = orange.SVMLearner()
flearner = orngFSS.FilteredLearner(learner, filter=orngFSS.FilterBestNAtts(n=1000), name='filtered')
svm = flearner(traindata)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/orange/", line 148, in __call__
return FilteredClassifier(classifier = model, domain = model.domain)
AttributeError: 'orange.SVMClassifier' has no attribute 'domain'

The same procedure works when using e.g. kNN. Is there something I can do about this? Thanks in advance!

Return to Questions & Support