I am using RBMs available in sklearn. In metrics file it has been written that 
that "support" is the number of occurrences of each class in y-true. My 
questions : 


1- I got wrong numbers for "support" while let's say for class 5, I have 80 
occurrences but it shows me 48. The same happens for all of the classes that I 
have. I have targets like this : [2,2,2,2,4,4,4,4,4,4,5,5,2,2,2,6,6,6,6, 
4,4,4,4]*40

2- I do not arrange similar samples back to each other. Could it be a cause for 
getting 0 precision for one of the classes? (i.e., I have 4 samples from class 
2, and then samples from other classes and again samples from class 2. Could it 
be problematic?)

3- How can I print y-pred (the prediction results) ?

Thanks, 

Arezou
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to