Skip to content

Commit 5955a2d

Browse files
jkremsersrowen
authored andcommitted
[MINOR][DOCS] s/It take/It takes/g
## What changes were proposed in this pull request? Fixing three small typos in the docs, in particular: It take a `RDD` -> It takes an `RDD` (twice) It take an `JavaRDD` -> It takes a `JavaRDD` I didn't create any Jira issue for this minor thing, I hope it's ok. ## How was this patch tested? visually by clicking on 'preview' Author: Jirka Kremser <[email protected]> Closes #20108 from Jiri-Kremser/docs-typo.
1 parent 028ee40 commit 5955a2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/mllib-frequent-pattern-mining.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ We refer users to the papers for more details.
4141

4242
[`FPGrowth`](api/scala/index.html#org.apache.spark.mllib.fpm.FPGrowth) implements the
4343
FP-growth algorithm.
44-
It take a `RDD` of transactions, where each transaction is an `Array` of items of a generic type.
44+
It takes an `RDD` of transactions, where each transaction is an `Array` of items of a generic type.
4545
Calling `FPGrowth.run` with transactions returns an
4646
[`FPGrowthModel`](api/scala/index.html#org.apache.spark.mllib.fpm.FPGrowthModel)
4747
that stores the frequent itemsets with their frequencies. The following
@@ -60,7 +60,7 @@ Refer to the [`FPGrowth` Scala docs](api/scala/index.html#org.apache.spark.mllib
6060

6161
[`FPGrowth`](api/java/org/apache/spark/mllib/fpm/FPGrowth.html) implements the
6262
FP-growth algorithm.
63-
It take an `JavaRDD` of transactions, where each transaction is an `Iterable` of items of a generic type.
63+
It takes a `JavaRDD` of transactions, where each transaction is an `Iterable` of items of a generic type.
6464
Calling `FPGrowth.run` with transactions returns an
6565
[`FPGrowthModel`](api/java/org/apache/spark/mllib/fpm/FPGrowthModel.html)
6666
that stores the frequent itemsets with their frequencies. The following
@@ -79,7 +79,7 @@ Refer to the [`FPGrowth` Java docs](api/java/org/apache/spark/mllib/fpm/FPGrowth
7979

8080
[`FPGrowth`](api/python/pyspark.mllib.html#pyspark.mllib.fpm.FPGrowth) implements the
8181
FP-growth algorithm.
82-
It take an `RDD` of transactions, where each transaction is an `List` of items of a generic type.
82+
It takes an `RDD` of transactions, where each transaction is an `List` of items of a generic type.
8383
Calling `FPGrowth.train` with transactions returns an
8484
[`FPGrowthModel`](api/python/pyspark.mllib.html#pyspark.mllib.fpm.FPGrowthModel)
8585
that stores the frequent itemsets with their frequencies.

0 commit comments

Comments
 (0)