Skip to content

Commit 8085067

Browse files
committed
fixed spacing/layout issues in ml guide from previous commit in this PR
1 parent 6cd5c78 commit 8085067

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/ml-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Developers should contribute new algorithms to `spark.mllib` and can optionally
1515
to `spark.ml`.
1616

1717
Guides for sub-packages of `spark.ml` include:
18+
1819
* [Feature Extraction, Transformation, and Selection](ml-features.html): Details on transformers supported in the Pipelines API, including a few not in the lower-level `spark.mllib` API
1920
* [Ensembles](ml-ensembles.html): Details on ensemble learning methods in the Pipelines API
2021

docs/mllib-guide.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ filtering, dimensionality reduction, as well as underlying optimization primitiv
1111
Guides for individual algorithms are listed below.
1212

1313
The API is divided into 2 parts:
14+
1415
* [The original `spark.mllib` API](mllib-guide.html#mllib-types-algorithms-and-utilities) is the primary API.
1516
* [The "Pipelines" `spark.ml` API](mllib-guide.html#sparkml-high-level-apis-for-ml-pipelines) is a higher-level API for constructing ML workflows.
1617

@@ -70,6 +71,7 @@ Developers should contribute new algorithms to `spark.mllib` and can optionally
7071
to `spark.ml`.
7172

7273
More detailed guides for `spark.ml` include:
74+
7375
* **[spark.ml programming guide](ml-guide.html)**: overview of the Pipelines API and major concepts
7476
* [Feature transformers](ml-features.html): Details on transformers supported in the Pipelines API, including a few not in the lower-level `spark.mllib` API
7577
* [Ensembles](ml-ensembles.html): Details on ensemble learning methods in the Pipelines API
@@ -109,9 +111,9 @@ For the `spark.ml` package, please see the [spark.ml Migration Guide](ml-guide.h
109111
In the `spark.mllib` package, there were several breaking changes, but all in `DeveloperApi` or `Experimental` APIs:
110112

111113
* Gradient-Boosted Trees
112-
* *(Breaking change)* The signature of the [`Loss.gradient`](api/scala/index.html#org.apache.spark.mllib.tree.loss.Loss.gradient) method was changed. This is only an issues for users who wrote their own losses for GBTs.
114+
* *(Breaking change)* The signature of the [`Loss.gradient`](api/scala/index.html#org.apache.spark.mllib.tree.loss.Loss) method was changed. This is only an issues for users who wrote their own losses for GBTs.
113115
* *(Breaking change)* The `apply` and `copy` methods for the case class [`BoostingStrategy`](api/scala/index.html#org.apache.spark.mllib.tree.configuration.BoostingStrategy) have been changed because of a modification to the case class fields. This could be an issue for users who use `BoostingStrategy` to set GBT parameters.
114-
* *(Breaking change)* The return value of [`LDA.run`](api/scala/index.html#org.apache.spark.mllib.clustering.LDA.run) has changed. It now returns an abstract class `LDAModel` instead of the concrete class `DistributedLDAModel`. The object of type `LDAModel` can still be cast to the appropriate concrete type, which depends on the optimization algorithm.
116+
* *(Breaking change)* The return value of [`LDA.run`](api/scala/index.html#org.apache.spark.mllib.clustering.LDA) has changed. It now returns an abstract class `LDAModel` instead of the concrete class `DistributedLDAModel`. The object of type `LDAModel` can still be cast to the appropriate concrete type, which depends on the optimization algorithm.
115117

116118
## Previous Spark Versions
117119

0 commit comments

Comments
 (0)