AnandInguva commented on code in PR #29910:
URL: https://github.com/apache/beam/pull/29910#discussion_r1442111693
##########
website/www/site/content/en/documentation/ml/preprocess-data.md:
##########
@@ -197,32 +198,3 @@ Replace the following values:
For more examples, see
[MLTransform for data
processing](/documentation/transforms/python/elementwise/mltransform)
in the [transform catalog](/documentation/transforms/python/overview/).
-
-### ScaleTo01 example {#scaleto01}
-
-This example demonstrates how to use `MLTransform` to normalize your data
-between 0 and 1 by using the minimum and maximum values from your entire
-dataset. `MLTransform` uses the `ScaleTo01` transformation.
-
-Use the following snippet to apply `ScaleTo01` on column `x` of the input
-data.
-
-```
-data_pcoll |
MLTransform(write_artifact_location=<LOCATION>).with_transform(ScaleTo01(columns=['x']))
-```
-
-The `ScaleTo01` transformation produces two artifacts: the `min` and the `max`
-of the entire dataset. For more information, see the
-[Artifacts](#artifacts) section on this page.
-
-## Metrics {#metrics}
Review Comment:
Yes, since we support both RunInference via embeddings and also TFT
transforms, these metrics seems to be out of place right now.
I plan to make a PR with relevant metrics if we think they are useful to the
user.
--
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]