[ 
https://issues.apache.org/jira/browse/SPARK-15363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiangrui Meng updated SPARK-15363:
----------------------------------
    Description: 
In SPARK-14615, we use VectorImplicits._  and asML in example code to minimize 
the changes in that PR. However, this is a private API, which shouldn't appear 
in the example code. We should consider update them during QA.

https://github.com/dbtsai/spark/blob/9d25ebacfb4abf4d80d5f6815fac920d18347799/examples/src/main/scala/org/apache/spark/examples/ml/DataFrameExample.scala

  was:
In SPARK-14615, we use VectorImplicits._ in example code to minimize the 
changes in that PR. However, this is a private API, which shouldn't appear in 
the example code. We should consider update them during QA.

https://github.com/dbtsai/spark/blob/9d25ebacfb4abf4d80d5f6815fac920d18347799/examples/src/main/scala/org/apache/spark/examples/ml/DataFrameExample.scala


> Example code shouldn't use VectorImplicits._
> --------------------------------------------
>
>                 Key: SPARK-15363
>                 URL: https://issues.apache.org/jira/browse/SPARK-15363
>             Project: Spark
>          Issue Type: Improvement
>          Components: Documentation, ML
>            Reporter: Xiangrui Meng
>
> In SPARK-14615, we use VectorImplicits._  and asML in example code to 
> minimize the changes in that PR. However, this is a private API, which 
> shouldn't appear in the example code. We should consider update them during 
> QA.
> https://github.com/dbtsai/spark/blob/9d25ebacfb4abf4d80d5f6815fac920d18347799/examples/src/main/scala/org/apache/spark/examples/ml/DataFrameExample.scala



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to