GitHub user zhengruifeng opened a pull request:

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

    [SPARK-13435] [MLlib] Add Weighted Cohen's kappa to MulticlassMetrics

    JIRA: https://issues.apache.org/jira/browse/SPARK-13435
    
    ## What changes were proposed in this pull request?
    
    Add the missing Weighted Cohen's kappa to MulticlassMetrics.
    
    
    ## How was the this patch tested?
    
    unit tests and manual tests were done. 
    The calculation correctness was tested on several small data, and compared 
to two python's package: sklearn and ml_metrics.
    
    


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

    $ git pull https://github.com/zhengruifeng/spark kappa

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

    https://github.com/apache/spark/pull/11303.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 #11303
    
----
commit fe9a88a5137c0476e9c07d7d7819a1a6df2587fa
Author: Zheng RuiFeng <[email protected]>
Date:   2016-02-22T09:00:33Z

    add kappa

commit 19a307ee367c4d574599370d6fd55f2a31c76bfe
Author: Zheng RuiFeng <[email protected]>
Date:   2016-02-22T09:12:30Z

    update kappa

commit 0b19e0bdb96f3002eb0d0f8ce8800470f2f9f382
Author: Zheng RuiFeng <[email protected]>
Date:   2016-02-22T09:27:22Z

    update kappa

commit 5bf863b07d32ccb86a4a6abd7be22b472a0ada53
Author: Zheng RuiFeng <[email protected]>
Date:   2016-02-22T10:57:44Z

    update kappa

commit 52f3b9bc14ac5904e638b22a45df722745d2afc8
Author: Zheng RuiFeng <[email protected]>
Date:   2016-02-22T11:24:30Z

    update kappa

commit 6c4f0341aaff8e32112b79a98007f7318916963b
Author: Zheng RuiFeng <[email protected]>
Date:   2016-02-22T13:25:57Z

    update kappa

----


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