2013/3/2 Tom Fawcett <tom.fawc...@gmail.com>: > I’m trying to load up an ARFF (Weka-style .arff) so I can use it with > sklearn’s classifiers. I found scipy’s arff_load function, but getting it > into numpy arrays of data and targets is nontrivial. Is there a facility for > doing this (semi-)automatically?
I did at one point implement a basic ARFF loader based on scipy.io, but I never got round to finishing it. Have a look at my code for inspiration (no guarantee that it works out of the box): https://github.com/larsmans/scikit-learn/commit/12944b74de56cd2358882b9a7f51f26fc7d206be -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general