Skip to content

Commit 42bf337

Browse files
committed
missing conversions
1 parent 62dc368 commit 42bf337

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/mllib-clustering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ The similarities must be nonnegative.
314314
PIC assumes that the similarity measure is symmetric.
315315
A pair `(srcId, dstId)` regardless of the ordering should appear at most once in the input data.
316316
If a pair is missing from input, their similarity is treated as zero.
317-
MLlib's PIC implementation takes the following (hyper-)parameters:
317+
`spark.mllib`'s PIC implementation takes the following (hyper-)parameters:
318318

319319
* `k`: number of clusters
320320
* `maxIterations`: maximum number of power iterations

docs/mllib-data-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: global
33
title: Data Types - MLlib
4-
displayTitle: <a href="mllib-guide.html">MLlib</a> - Data Types
4+
displayTitle: Data Types
55
---
66

77
* Table of contents

docs/mllib-linear-methods.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ val sameModel = SVMModel.load(sc, "myModelPath")
210210
The `SVMWithSGD.train()` method by default performs L2 regularization with the
211211
regularization parameter set to 1.0. If we want to configure this algorithm, we
212212
can 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
214214
this way as well. For example, the following code produces an L1 regularized
215215
variant of SVMs with regularization parameter set to 0.1, and runs the training
216216
algorithm for 200 iterations.
@@ -296,7 +296,7 @@ public class SVMClassifier {
296296
The `SVMWithSGD.train()` method by default performs L2 regularization with the
297297
regularization parameter set to 1.0. If we want to configure this algorithm, we
298298
can 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
300300
this way as well. For example, the following code produces an L1 regularized
301301
variant of SVMs with regularization parameter set to 0.1, and runs the training
302302
algorithm for 200 iterations.
@@ -378,7 +378,7 @@ Binary logistic regression can be generalized into
378378
train and predict multiclass classification problems.
379379
For example, for $K$ possible outcomes, one of the outcomes can be chosen as a "pivot", and the
380380
other $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.
382382
See Section 4.4 of
383383
[The Elements of Statistical Learning](http://statweb.stanford.edu/~tibs/ElemStatLearn/) for
384384
references.

docs/mllib-statistics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ print(summary.numNonzeros())
112112

113113
## Correlations
114114

115-
Calculating the correlation between two series of data is a common operation in Statistics. In MLlib
115+
Calculating the correlation between two series of data is a common operation in Statistics. In `spark.mllib`
116116
we provide the flexibility to calculate pairwise correlations among many series. The supported
117117
correlation methods are currently Pearson's and Spearman's correlation.
118118

0 commit comments

Comments
 (0)