🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Error in Binomial Performance Classification Operator

User: "SabaRG"
New Altair Community Member
Updated by Jocelyn
Dears 

I use deep learning for time series prediction in a binary classification problem. The result sometimes just contains a value for prediction (e.g., just "false"). The binominal classification performance operator has an error in this scenario with this message:

"The attribute prediction has 1 different values, must be 2 for calculation of precision."

I removed the precision metric, but it has the same error for false_positive metric:

"The attribute prediction has 1 different values, must be 2 for calculation of false_positive."

This is unacceptable that this operator can't calculate this metric! It should consider 0 for the value. Besides, I can't find any operator to add the "true" value to the annotation of the prediction attribute. Is there any operator or trick for this problem?

Sincerely