GitHub user mbaddar1 opened a pull request:

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

    [SPARK-13073] [MLib] [WIP] creating R like summary for logistic Regression 
in Spark - Scala

    ## What changes were proposed in this pull request?
    
    Implemented initial version of toString method for 
BinaryLogisticRegressionSummary that converts ROC , Precision , F-Measure data 
frame members into tabular string representation
    
    
    ## How was this patch tested?
    
    -Unit testing 
    -Manual
    
    Author : Mohamed Baddar ( mbaddar2@gmail dot com )
    
    
    
    


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

    $ git pull https://github.com/mbaddar1/spark 
LogisticRegressionSummaryToString

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

    https://github.com/apache/spark/pull/11729.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 #11729
    
----
commit eb5e7bf4fb6812caf2c6bdddeee32cb7f81f80ab
Author: mbaddar1 <[email protected]>
Date:   2016-03-13T21:19:14Z

    Add toString method to BinaryLogistic Regression with the following changes 
:
    +Added auxilary dataFrameToString method
    +Added roc , precision-recall , fmeasure conversion to string

commit 822625ec1651ec0257e31afb05f66e9f7ebcfc96
Author: mbaddar1 <[email protected]>
Date:   2016-03-14T12:40:44Z

    Added unit testing for 
org.apache.spark.ml.classification.BinaryLogisticRegressionSummary.toString
    The unit testing method test the following
    +Return type to be string
    +Retrun string should contains the words "ROC" , "Precision" , "F-Measure"

commit 60107f5b74df71840244e65b6e5d225e747de252
Author: mbaddar1 <[email protected]>
Date:   2016-03-14T15:12:19Z

    Added Style changes to follow the guide

commit d11ee3d2125a9105d66151e7390b7c5aaaf60c05
Author: mbaddar1 <[email protected]>
Date:   2016-03-15T12:01:21Z

    Add TODOs

commit 82c8620c5193cf96efcf4355a25435550f62c93a
Author: mbaddar1 <[email protected]>
Date:   2016-03-15T12:02:21Z

    Add assert in unit testing for non empty string

commit 7cd6d664d1dfce8128ca150e3d513b3ca89b19b1
Author: mbaddar1 <[email protected]>
Date:   2016-03-15T12:04:06Z

    Add comments in unit testing

commit 2784e5b348d43dc57b0446408a87d14da612a2b2
Author: mbaddar1 <[email protected]>
Date:   2016-03-15T12:04:43Z

    Add TODO in unit testing

commit 5e926bae64cf4711017fdb13fedf99e3bf619657
Author: mbaddar1 <[email protected]>
Date:   2016-03-15T12:12:23Z

    Added stylistic changes

----


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