Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

random forest predict function returns -1

Hi,

My feature vector's size is 5. The content is filled with 1,0,-1 values... there are two classes. My train data's size is 243 and 16 of them is belong to fist class.The first class labeled with 1, the other is -1.

The predict function returns -1 always