Skip to content

Commit

Permalink
[SPARK-4055][MLlib] Inconsistent spelling 'MLlib' and 'MLLib'
Browse files Browse the repository at this point in the history
Thare are some inconsistent spellings 'MLlib' and 'MLLib' in some documents and source codes.

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes apache#2903 from sarutak/SPARK-4055 and squashes the following commits:

b031640 [Kousuke Saruta] Fixed inconsistent spelling "MLlib and MLLib"
  • Loading branch information
sarutak authored and mengxr committed Oct 23, 2014
1 parent d6a3025 commit f799700
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/mllib-feature-extraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ val idf = new IDF().fit(tf)
val tfidf: RDD[Vector] = idf.transform(tf)
{% endhighlight %}

MLLib's IDF implementation provides an option for ignoring terms which occur in less than a
MLlib's IDF implementation provides an option for ignoring terms which occur in less than a
minimum number of documents. In such cases, the IDF for these terms is set to 0. This feature
can be used by passing the `minDocFreq` value to the IDF constructor.

Expand Down
2 changes: 1 addition & 1 deletion docs/mllib-statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ print Statistics.corr(data, method="pearson")

## Stratified sampling

Unlike the other statistics functions, which reside in MLLib, stratified sampling methods,
Unlike the other statistics functions, which reside in MLlib, stratified sampling methods,
`sampleByKey` and `sampleByKeyExact`, can be performed on RDD's of key-value pairs. For stratified
sampling, the keys can be thought of as a label and the value as a specific attribute. For example
the key can be man or woman, or document ids, and the respective values can be the list of ages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import scala.Tuple2;

/**
* Example using MLLib ALS from Java.
* Example using MLlib ALS from Java.
*/
public final class JavaALS {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import org.apache.spark.mllib.linalg.Vectors;

/**
* Example using MLLib KMeans from Java.
* Example using MLlib KMeans from Java.
*/
public final class JavaKMeans {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package org.apache.spark.mllib.api

/**
* Internal support for MLLib Python API.
* Internal support for MLlib Python API.
*
* @see [[org.apache.spark.mllib.api.python.PythonMLLibAPI]]
*/
Expand Down

0 comments on commit f799700

Please sign in to comment.