GitHub user WeichenXu123 opened a pull request:

    https://github.com/apache/spark/pull/20411

    [SPARK-17139][ML][FOLLOW-UP] update LogisticRegressionSummaryExample code

    ## What changes were proposed in this pull request?
    
    New method `trainingSummary.asBinary` added so in this example change
    `.asInstanceOf[BinaryLogisticRegressionSummary]` to `.asBinary`
    
    ## How was this patch tested?
    
    N/A

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/WeichenXu123/spark update-lor-example

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20411.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20411
    
----
commit 1da356839dbf1f2ba8ce0d4b6fb689001c62f317
Author: WeichenXu <weichen.xu@...>
Date:   2018-01-26T18:52:37Z

    update-lor-example

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to