Skip to content

Commit 1a1a62a

Browse files
David Bolandcodemzs
David Boland
authored andcommitted
Updated AucAggregator.cs ComputeWeightedAuc method to fix spelling issue of "defined" in message (#3613)
1 parent 056c604 commit 1a1a62a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.ML.Data/Evaluators/AucAggregator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ public override Double ComputeWeightedAuc(out Double unweighted)
112112
}
113113

114114
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");
117117
return ComputeWeightedAucCore(out unweighted);
118118
}
119119

0 commit comments

Comments
 (0)