Skip to content

Commit

Permalink
missing conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
thunterdb committed Dec 10, 2015
1 parent 62dc368 commit 42bf337
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/mllib-clustering.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ The similarities must be nonnegative.
PIC assumes that the similarity measure is symmetric.
A pair `(srcId, dstId)` regardless of the ordering should appear at most once in the input data.
If a pair is missing from input, their similarity is treated as zero.
MLlib's PIC implementation takes the following (hyper-)parameters:
`spark.mllib`'s PIC implementation takes the following (hyper-)parameters:

* `k`: number of clusters
* `maxIterations`: maximum number of power iterations
Expand Down
2 changes: 1 addition & 1 deletion docs/mllib-data-types.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: global
title: Data Types - MLlib
displayTitle: <a href="mllib-guide.html">MLlib</a> - Data Types
displayTitle: Data Types
---

* Table of contents
Expand Down
6 changes: 3 additions & 3 deletions docs/mllib-linear-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ val sameModel = SVMModel.load(sc, "myModelPath")
The `SVMWithSGD.train()` method by default performs L2 regularization with the
regularization parameter set to 1.0. If we want to configure this algorithm, we
can customize `SVMWithSGD` further by creating a new object directly and
calling setter methods. All other MLlib algorithms support customization in
calling setter methods. All other `spark.mllib` algorithms support customization in
this way as well. For example, the following code produces an L1 regularized
variant of SVMs with regularization parameter set to 0.1, and runs the training
algorithm for 200 iterations.
Expand Down Expand Up @@ -296,7 +296,7 @@ public class SVMClassifier {
The `SVMWithSGD.train()` method by default performs L2 regularization with the
regularization parameter set to 1.0. If we want to configure this algorithm, we
can customize `SVMWithSGD` further by creating a new object directly and
calling setter methods. All other MLlib algorithms support customization in
calling setter methods. All other `spark.mllib` algorithms support customization in
this way as well. For example, the following code produces an L1 regularized
variant of SVMs with regularization parameter set to 0.1, and runs the training
algorithm for 200 iterations.
Expand Down Expand Up @@ -378,7 +378,7 @@ Binary logistic regression can be generalized into
train and predict multiclass classification problems.
For example, for $K$ possible outcomes, one of the outcomes can be chosen as a "pivot", and the
other $K - 1$ outcomes can be separately regressed against the pivot outcome.
In MLlib, the first class $0$ is chosen as the "pivot" class.
In `spark.mllib`, the first class $0$ is chosen as the "pivot" class.
See Section 4.4 of
[The Elements of Statistical Learning](http://statweb.stanford.edu/~tibs/ElemStatLearn/) for
references.
Expand Down
2 changes: 1 addition & 1 deletion docs/mllib-statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ print(summary.numNonzeros())

## Correlations

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

Expand Down

0 comments on commit 42bf337

Please sign in to comment.