On Sat, Mar 30, 2013 at 10:32:26AM -0400, Anne Dwyer wrote: > print arr1
> And here is my output: > (0, 4) 1.0 > (0, 0) 1.0 > (1, 3) 1.0 > (1, 1) 1.0 > (2, 2) 1.0 > (2, 0) 1.0 > (3, 3) 1.0 > (3, 0) 1.0 Yes, it's a sparse matrix, rather than an array. You can convert it to an array using its 'toarray()' method, but many scikit-learn estimator work well with sparse data as an input. HTH, Gaël ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
