adefazio / classifierplots

Generates a visualization of binary classifier performance as a grid of diagonstic plots with just one function call
Other
49 stars 7 forks source link

Error: more than 2 unique values: 1 #20

Open MotivaoCrypto opened 2 years ago

MotivaoCrypto commented 2 years ago

y_test_class = [0,0,0,0,0] prob_class = [0.01,0.02,.45,0.36,0.001] classifierplots(y_test_class,prob_class) """ Error in check_classifier_input_and_init(test.y, pred.prob) : test.y had more than 2 unique values: 1 """