Options
Only one label error message
I'm using the Discretize by User Specification operator to turn my label from numerical data into nominal with 5 different classes, those being lowest, low, on target, high, and highest. After doing this all 5 classes are showing up in the data. I am then using a Sliding Window Validation using various models but am getting an error message for several models saying "Only one label. The learning scheme "Model Name used" does not have sufficient capabilities for handling an example set with only one label value." I have one label with 5 classes showing up in the example set just before going into the sliding window. Anyone know why I'm getting this error? I've tried Random Forest, k-nn, Generalized Linear Model, and Decision Tree all giving me this error message.
0
Answers