HyukjinKwon commented on a change in pull request #23263: [SPARK-23674][ML]
Adds Spark ML Events to Pipeline
URL: https://github.com/apache/spark/pull/23263#discussion_r242775270
##########
File path: mllib/src/main/scala/org/apache/spark/ml/Pipeline.scala
##########
@@ -301,9 +308,11 @@ class PipelineModel private[ml] (
}
@Since("2.0.0")
- override def transform(dataset: Dataset[_]): DataFrame = {
+ override def transform(dataset: Dataset[_]): DataFrame =
MLEvents.withTransformEvent(
+ this, dataset, logging = true) {
Review comment:
I manually tested the logging and this logging way is borrowed from
`transformSchema`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]