You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## What changes were proposed in this pull request?
Easy fix in the documentation.
## How was this patch tested?
N/A
Closesapache#20948
Author: Daniel Sakuma <[email protected]>
Closesapache#20928 from dsakuma/fix_typo_configuration_docs.
Copy file name to clipboardExpand all lines: docs/ml-advanced.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ Quasi-Newton methods in this case. This fallback is currently always enabled for
77
77
L1 regularization is applied (i.e. $\alpha = 0$), there exists an analytical solution and either Cholesky or Quasi-Newton solver may be used. When $\alpha > 0$ no analytical
78
78
solution exists and we instead use the Quasi-Newton solver to find the coefficients iteratively.
79
79
80
-
In order to make the normal equation approach efficient, `WeightedLeastSquares` requires that the number of features be no more than 4096. For larger problems, use L-BFGS instead.
80
+
In order to make the normal equation approach efficient, `WeightedLeastSquares` requires that the number of features is no more than 4096. For larger problems, use L-BFGS instead.
Copy file name to clipboardExpand all lines: docs/ml-classification-regression.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -420,7 +420,7 @@ Refer to the [R API docs](api/R/spark.svmLinear.html) for more details.
420
420
421
421
[OneVsRest](http://en.wikipedia.org/wiki/Multiclass_classification#One-vs.-rest) is an example of a machine learning reduction for performing multiclass classification given a base classifier that can perform binary classification efficiently. It is also known as "One-vs-All."
422
422
423
-
`OneVsRest` is implemented as an `Estimator`. For the base classifier it takes instances of `Classifier` and creates a binary classification problem for each of the k classes. The classifier for class i is trained to predict whether the label is i or not, distinguishing class i from all other classes.
423
+
`OneVsRest` is implemented as an `Estimator`. For the base classifier, it takes instances of `Classifier` and creates a binary classification problem for each of the k classes. The classifier for class i is trained to predict whether the label is i or not, distinguishing class i from all other classes.
424
424
425
425
Predictions are done by evaluating each binary classifier and the index of the most confident classifier is output as label.
426
426
@@ -908,7 +908,7 @@ Refer to the [R API docs](api/R/spark.survreg.html) for more details.
908
908
belongs to the family of regression algorithms. Formally isotonic regression is a problem where
909
909
given a finite set of real numbers `$Y = {y_1, y_2, ..., y_n}$` representing observed responses
910
910
and `$X = {x_1, x_2, ..., x_n}$` the unknown response values to be fitted
0 commit comments