We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f8eb36 commit 11c94e0Copy full SHA for 11c94e0
mllib/src/main/scala/org/apache/spark/mllib/util/LabelParsers.scala
@@ -38,7 +38,7 @@ class BinaryLabelParser extends LabelParser {
38
object BinaryLabelParser {
39
private lazy val instance = new BinaryLabelParser()
40
/** Gets the default instance of BinaryLabelParser. */
41
- def apply() = instance
+ def apply(): BinaryLabelParser = instance
42
}
43
44
/**
@@ -51,5 +51,5 @@ class MulticlassLabelParser extends LabelParser {
51
object MulticlassLabelParser {
52
private lazy val instance = new MulticlassLabelParser()
53
/** Gets the default instance of MulticlassLabelParser. */
54
+ def apply(): MulticlassLabelParser = instance
55
0 commit comments