[pymvpa] LinearSVM Classification Warning
Matthias Ekman
Matthias.Ekman at nf.mpg.de
Tue Feb 2 19:11:09 UTC 2010
Hi,
could you please post:
print ds.summary()
.. just to make sure, that there are samples belonging to class 3 :)
Matthias
Geethmala wrote:
> No, I don't have a mix of them. They are all integer values.
>
> Thanks,
> Geethmala
>
> On Tue, Feb 2, 2010 at 1:59 PM, Yaroslav Halchenko <debian at onerussian.com>wrote:
>
>> it means that
>>
>> Classifier LinearCSVMC(kernel_type='linear', svm_impl='C_SVC')
>> wasn't trained to classify labels Set([3.0]) present in testing
>> dataset. Make sure that you have not mixed order/names of the
>> arguments anywhere
>>
>> Also test if you don't have a mix of float and int labels in your
>> datasets (as I remember you are manually composing those).
>>
>>
>> On Tue, 02 Feb 2010, Geethmala wrote:
>>
>>> Hi,
>>> I get the following warning when I run LinearCSVMC.
>>> WARNING: Classifier LinearCSVMC(kernel_type='linear',
>> svm_impl='C_SVC')
>>> wasn't trained to classify labels Set([3.0]) present in testing
>>> dataset. Make sure that you have not mixed order/names of the
>> arguments
>>> anywhere
>>> What does this warning mean?
>>> Thanks,
>>> Geethmala
>>> _______________________________________________
>>> Pkg-ExpPsy-PyMVPA mailing list
>>> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>>
>> --
>> .-.
>> =------------------------------ /v\ ----------------------------=
>> Keep in touch // \\ (yoh@|www.)onerussian.com
>> Yaroslav Halchenko /( )\ ICQ#: 60653192
>> Linux User ^^-^^ [175555]
>>
>>
>>
>> _______________________________________________
>> Pkg-ExpPsy-PyMVPA mailing list
>> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
More information about the Pkg-ExpPsy-PyMVPA
mailing list