[pymvpa] MulticlassClassifier Queries
    Yaroslav Halchenko 
    debian at onerussian.com
       
    Wed Jan 27 03:00:04 UTC 2010
    
    
  
no need to wrap LinearCSVMC in multiclass -- libsvm/sg(libsvm) does
1-vs-1 classification internally for multiclass anyways
warning is just about values... just a warning.. no biggie ;-) indeed
shouldn't be there if you don't use MulticlassClassifier
On Tue, 26 Jan 2010, Geethmala wrote:
>    Hi,
>    I have a couple of queries about multiclass classification.
>    I have 3 classes and I want to classify them using SVM with
>    Searchlight.
>    Code snippet:
>    dataset = dataset.selectSamples(
>                    N.array([l in [1, 2, 3] for l in dataset.labels],
>                            dtype='bool'))
>    mlclf = MulticlassClassifier(clf=LinearCSVMC(),bclf_type="1-vs-1")
>    cv = CrossValidatedTransferError(
>                            TransferError(mlclf),
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]
    
    
More information about the Pkg-ExpPsy-PyMVPA
mailing list