Skip to content

Commit e0b2463

Browse files
committed
Senja error exception correction from score to label.
1 parent 4c3f10e commit e0b2463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private protected override void CheckScoreAndLabelTypes(RoleMappedSchema schema)
6262
Host.CheckParam(schema.Label.HasValue, nameof(schema), "Must contain a label column");
6363
t = schema.Label.Value.Type;
6464
if (t != NumberType.R4)
65-
throw Host.ExceptSchemaMismatch(nameof(schema), "score", schema.Label.Value.Name, "R4", t.ToString());
65+
throw Host.ExceptSchemaMismatch(nameof(schema), "label", schema.Label.Value.Name, "R4", t.ToString());
6666
}
6767

6868
private protected override Aggregator GetAggregatorCore(RoleMappedSchema schema, string stratName)

0 commit comments

Comments
 (0)