@@ -210,7 +210,7 @@ val sameModel = SVMModel.load(sc, "myModelPath")
210210The ` SVMWithSGD.train() ` method by default performs L2 regularization with the
211211regularization parameter set to 1.0. If we want to configure this algorithm, we
212212can customize ` SVMWithSGD ` further by creating a new object directly and
213- calling setter methods. All other MLlib algorithms support customization in
213+ calling setter methods. All other ` spark.mllib ` algorithms support customization in
214214this way as well. For example, the following code produces an L1 regularized
215215variant of SVMs with regularization parameter set to 0.1, and runs the training
216216algorithm for 200 iterations.
@@ -296,7 +296,7 @@ public class SVMClassifier {
296296The ` SVMWithSGD.train() ` method by default performs L2 regularization with the
297297regularization parameter set to 1.0. If we want to configure this algorithm, we
298298can customize ` SVMWithSGD ` further by creating a new object directly and
299- calling setter methods. All other MLlib algorithms support customization in
299+ calling setter methods. All other ` spark.mllib ` algorithms support customization in
300300this way as well. For example, the following code produces an L1 regularized
301301variant of SVMs with regularization parameter set to 0.1, and runs the training
302302algorithm for 200 iterations.
@@ -378,7 +378,7 @@ Binary logistic regression can be generalized into
378378train and predict multiclass classification problems.
379379For example, for $K$ possible outcomes, one of the outcomes can be chosen as a "pivot", and the
380380other $K - 1$ outcomes can be separately regressed against the pivot outcome.
381- In MLlib , the first class $0$ is chosen as the "pivot" class.
381+ In ` spark.mllib ` , the first class $0$ is chosen as the "pivot" class.
382382See Section 4.4 of
383383[ The Elements of Statistical Learning] ( http://statweb.stanford.edu/~tibs/ElemStatLearn/ ) for
384384references.
0 commit comments