On Fri, Nov 09, 2012 at 04:48:43PM +0100, [email protected] wrote:
> My array containing the labels (dataActs_array) only shows 2 classes:
> "
> from collections import defaultdict
> d = defaultdict(int)
> for elt in dataActs_array:
>     d[elt] += 1
> print d
> defaultdict(<type 'int'>, {'1': 1505, '0': 774})
> "

Is your array containing strings? If so, could you try casting it to
floats?

G

------------------------------------------------------------------------------
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_nov
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to