Skip to content
Snippets Groups Projects
Commit 6555ef0c authored by Zheng RuiFeng's avatar Zheng RuiFeng Committed by Sean Owen
Browse files

[TRIVIAL] Typo Fix

## What changes were proposed in this pull request?
Fix a typo

## How was this patch tested?
no tests

Author: Zheng RuiFeng <ruifengz@foxmail.com>

Closes #14772 from zhengruifeng/minor_numClasses.
parent 58855991
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ abstract class Classifier[
case Row(label: Double, features: Vector) =>
require(label % 1 == 0 && label >= 0 && label < numClasses, s"Classifier was given" +
s" dataset with invalid label $label. Labels must be integers in range" +
s" [0, 1, ..., $numClasses), where numClasses=$numClasses.")
s" [0, $numClasses).")
LabeledPoint(label, features)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment