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

    https://github.com/apache/spark/pull/12717#discussion_r61288394
  
    --- Diff: 
examples/src/main/scala/org/apache/spark/examples/ml/LogisticRegressionSummaryExample.scala
 ---
    @@ -30,11 +30,11 @@ object LogisticRegressionSummaryExample {
       def main(args: Array[String]): Unit = {
         val conf = new 
SparkConf().setAppName("LogisticRegressionSummaryExample")
         val sc = new SparkContext(conf)
    -    val sqlCtx = new SQLContext(sc)
    -    import sqlCtx.implicits._
    +    val sqlContext = new SQLContext(sc)
    +    import sqlContext.implicits._
    --- End diff --
    
    @srowen I searched all examples in ml and corrected them if they are used 
in examples in the document. There is one logisticRegression training summary 
example, which is not part of the document. So I think it is not necessary to 
change it. Thanks!


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