zhipeng93 commented on code in PR #189:
URL: https://github.com/apache/flink-ml/pull/189#discussion_r1062179082
##########
docs/content/docs/operators/feature/randomsplitter.md:
##########
@@ -31,9 +31,10 @@ An AlgoOperator which splits a table into N tables according
to the given weight
### Parameters
-| Key | Default | Type | Required | Description
|
-|:--------|:-------------|:---------|:---------|:-------------------------------|
-| weights | `[1.0, 1.0]` | Double[] | no | The weights of data
splitting. |
+| Key | Default | Type | Required | Description
|
+|:--------|:-------------|:---------|:---------|:-------------------------------------------------------------------------------------------------------------------------------------|
+| weights | `[1.0, 1.0]` | Double[] | no | The weights of data
splitting.
|
+| seed | `null` | Long | no | The random seed. This
parameter works only when the parallelism is consistent and each worker read
the same data in the same order. |
Review Comment:
How about update the descriptions as:
'''
The random seed. This parameter guarantees reproduciable output only when
the paralleism is unchanged and each worker reads the same data in the same
order.
'''
--
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]