Skip to content
Snippets Groups Projects
Commit f799700e authored by Kousuke Saruta's avatar Kousuke Saruta Committed by Xiangrui Meng
Browse files

[SPARK-4055][MLlib] Inconsistent spelling 'MLlib' and 'MLLib'

Thare are some inconsistent spellings 'MLlib' and 'MLLib' in some documents and source codes.

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

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

b031640 [Kousuke Saruta] Fixed inconsistent spelling "MLlib and MLLib"
parent d6a30253
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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
......
......@@ -32,7 +32,7 @@ import java.util.regex.Pattern;
import scala.Tuple2;
/**
* Example using MLLib ALS from Java.
* Example using MLlib ALS from Java.
*/
public final class JavaALS {
......
......@@ -30,7 +30,7 @@ import org.apache.spark.mllib.linalg.Vector;
import org.apache.spark.mllib.linalg.Vectors;
/**
* Example using MLLib KMeans from Java.
* Example using MLlib KMeans from Java.
*/
public final class JavaKMeans {
......
......@@ -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]]
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment