converting CSV dataset to LIBSVM format

View: New views
2 Messages — Rating Filter:   Alert me  

converting CSV dataset to LIBSVM format

by saini_ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

I have tied the “save as” option but the new version of weka 3.60 doesn’t have the option to save as LIBSVM.

How is it possible to convert a comma separated value dataset to LIBSVM format using WEKA?

 

Kind Regards

 

-------------------

Sundeep Singh Nanuwa BSc MSc PhD Researcher

Bio-Health Informatics Research Team at the Centre of Computational Intelligence

De Montfort University, Leicester, UK

http://www.cci.dmu.ac.uk

 

 


_______________________________________________
Wekalist mailing list
Send posts to: Wekalist@...
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

Re: converting CSV dataset to LIBSVM format

by Peter Reutemann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I have tied the “save as” option but the new version of weka 3.60 doesn’t
> have the option to save as LIBSVM.
>
> How is it possible to convert a comma separated value dataset to LIBSVM
> format using WEKA?

I assume that you're talking about the "save as" option in the Explorer.

Not all savers support all attribute types. The LibSVM saver only
supports nominal and numeric attributes (and needs a class attribute
set). If your dataset contains string attributes or has no class
attribute set, you won't be able to save it with this saver.

Cheers, Peter
--
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
http://www.cs.waikato.ac.nz/~fracpete/           Ph. +64 (7) 858-5174


_______________________________________________
Wekalist mailing list
Send posts to: Wekalist@...
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html