aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLewuathe <lewuathe@me.com>2016-02-01 12:21:21 -0800
committerXiangrui Meng <meng@databricks.com>2016-02-01 12:21:21 -0800
commit711ce048a285403241bbc9eaabffc1314162e89c (patch)
tree668af8cdadbb1a483e197efa7b5a5521a130d4ac /docs
parentda9146c91a33577ff81378ca7e7c38a4b1917876 (diff)
downloadspark-711ce048a285403241bbc9eaabffc1314162e89c.tar.gz
spark-711ce048a285403241bbc9eaabffc1314162e89c.tar.bz2
spark-711ce048a285403241bbc9eaabffc1314162e89c.zip
[ML][MINOR] Invalid MulticlassClassification reference in ml-guide
In [ml-guide](https://spark.apache.org/docs/latest/ml-guide.html#example-model-selection-via-cross-validation), there is invalid reference to `MulticlassClassificationEvaluator` apidoc. https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.ml.evaluation.MultiClassClassificationEvaluator Author: Lewuathe <lewuathe@me.com> Closes #10996 from Lewuathe/fix-typo-in-ml-guide.
Diffstat (limited to 'docs')
-rw-r--r--docs/ml-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ml-guide.md b/docs/ml-guide.md
index 5aafd53b58..f8279262e6 100644
--- a/docs/ml-guide.md
+++ b/docs/ml-guide.md
@@ -627,7 +627,7 @@ Currently, `spark.ml` supports model selection using the [`CrossValidator`](api/
The `Evaluator` can be a [`RegressionEvaluator`](api/scala/index.html#org.apache.spark.ml.evaluation.RegressionEvaluator)
for regression problems, a [`BinaryClassificationEvaluator`](api/scala/index.html#org.apache.spark.ml.evaluation.BinaryClassificationEvaluator)
-for binary data, or a [`MultiClassClassificationEvaluator`](api/scala/index.html#org.apache.spark.ml.evaluation.MultiClassClassificationEvaluator)
+for binary data, or a [`MultiClassClassificationEvaluator`](api/scala/index.html#org.apache.spark.ml.evaluation.MulticlassClassificationEvaluator)
for multiclass problems. The default metric used to choose the best `ParamMap` can be overriden by the `setMetricName`
method in each of these evaluators.