Github user sethah commented on a diff in the pull request:
https://github.com/apache/spark/pull/12892#discussion_r62057972
--- Diff:
examples/src/main/scala/org/apache/spark/examples/ml/ALSExample.scala ---
@@ -65,8 +65,6 @@ object ALSExample {
// Evaluate the model by computing the RMSE on the test data
val predictions = model.transform(test)
- .withColumn("rating", col("rating").cast(DoubleType))
--- End diff --
You have some unused imports at the top of this file now. Don't need
```scala
import org.apache.spark.sql.functions._
import org.apache.spark.sql.types.DoubleType
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]