yunfengzhou-hub commented on code in PR #157:
URL: https://github.com/apache/flink-ml/pull/157#discussion_r978288171
##########
docs/content/docs/operators/clustering/agglomerativeclustering.md:
##########
@@ -49,15 +49,16 @@ format of the merging information is
### Parameters
-| Key | Default | Type | Required | Description
|
-|:------------------|:---------------|:--------|:---------|:--------------------------------------------------------------------------------------------------------------------|
-| numClusters | `2` | Integer | no | The max number of
clusters to create.
|
-| distanceThreshold | `null` | Double | no | Threshold to
decide whether two clusters should be merged.
|
-| linkage | `"ward"` | String | no | Criterion for
computing distance between two clusters. Supported values: `'ward', 'complete',
'single', 'average'`. |
-| computeFullTree | `false` | Boolean | no | Whether computes
the full tree after convergence.
|
-| distanceMeasure | `"euclidean"` | String | no | Distance measure.
Supported values: `'euclidean', 'manhattan', 'cosine'`.
|
-| featuresCol | `"features"` | String | no | Features column
name.
|
-| predictionCol | `"prediction"` | String | no | Prediction column
name.
|
+| Key | Default | Type | Required | Description
|
+| :---------------- | :-------------------- | :------ | :------- |
:----------------------------------------------------------- |
+| numClusters | `2` | Integer | no | The max
number of clusters to create. |
+| distanceThreshold | `null` | Double | no | Threshold
to decide whether two clusters should be merged. |
+| linkage | `"ward"` | String | no | Criterion
for computing distance between two clusters. Supported values: `'ward',
'complete', 'single', 'average'`. |
+| computeFullTree | `false` | Boolean | no | Whether
computes the full tree after convergence. |
+| distanceMeasure | `"euclidean"` | String | no | Distance
measure. Supported values: `'euclidean', 'manhattan', 'cosine'`. |
+| window | `BoundedWindow.get()` | Window | no | How
elements would be sliced into batches and fed into the Stage. |
Review Comment:
I have reformatted the doc with IntelliJ idea's auto format function, as how
this doc has been formatted before this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]