2012/5/31 Lars Buitinck <[email protected]>:
> 2012/5/31, Mathieu Blondel <[email protected]>:
>> Sheila's question made me realize that we could have returned Bunch objects
>> in load_svmlight_file(). Not sure if it's worth breaking the API just for
>> that, though.
>
> Bunches are mostly useful when there are target names as well as
> indices, for classifiers that don't support those (and maybe feature
> names as well). SVMlight files carry just numbers.

the base svmlight files don't support this but extensions such as
vowpal wabbit file format do. We could extend the parser to support
those as well.

BTW there is an example VW parser for pandas here:
https://github.com/scottblanc/vowpal-wabbit-data

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to