File tree 1 file changed +2
-2
lines changed
src/Microsoft.ML.Data/Evaluators
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ public override Double ComputeWeightedAuc(out Double unweighted)
112
112
}
113
113
114
114
Contracts . Check ( PosSample != null && NegSample != null , "Must call Finish() before computing AUC" ) ;
115
- Contracts . CheckParam ( PosSample . Any ( ) , nameof ( PosSample ) , "AUC is not definied when there is no positive class in the data" ) ;
116
- Contracts . CheckParam ( NegSample . Any ( ) , nameof ( NegSample ) , "AUC is not definied when there is no negative class in the data" ) ;
115
+ Contracts . CheckParam ( PosSample . Any ( ) , nameof ( PosSample ) , "AUC is not defined when there is no positive class in the data" ) ;
116
+ Contracts . CheckParam ( NegSample . Any ( ) , nameof ( NegSample ) , "AUC is not defined when there is no negative class in the data" ) ;
117
117
return ComputeWeightedAucCore ( out unweighted ) ;
118
118
}
119
119
You can’t perform that action at this time.
0 commit comments