Github user MLnick commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12892#discussion_r62080627
  
    --- 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 --
    
    Thanks will remove them
    
    On Wed, 4 May 2016 at 17:17, Seth Hendrickson <[email protected]>
    wrote:
    
    > In examples/src/main/scala/org/apache/spark/examples/ml/ALSExample.scala
    > <https://github.com/apache/spark/pull/12892#discussion_r62057972>:
    >
    > > @@ -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))
    >
    > You have some unused imports at the top of this file now. Don't need
    >
    > import org.apache.spark.sql.functions._import 
org.apache.spark.sql.types.DoubleType
    >
    > —
    > You are receiving this because you authored the thread.
    > Reply to this email directly or view it on GitHub
    > 
<https://github.com/apache/spark/pull/12892/files/a591564a6f66b8461ddccfe979a6aa1976ecdebe#r62057972>
    >



---
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]

Reply via email to