spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirav Patel <npa...@xactlycorp.com>
Subject Re: ML - MulticlassClassificationEvaluator How to get metrics for each class
Date Mon, 03 Oct 2016 23:46:16 GMT
I think its via using MulticlassMetrics class. Just found it.

Thanks

On Mon, Oct 3, 2016 at 3:31 PM, Nirav Patel <npatel@xactlycorp.com> wrote:

> I see that in scikit library if you specify 'Non' or nothing for 'average'
> parameter it returns metrics for each classes. How to get this in ML
> library?
> http://scikit-learn.org/stable/modules/generated/
> sklearn.metrics.precision_score.html
>
> Current weighted metrics does help to see overall picture but doesn't
> really help to narrow down issue unless looking at raw confusion matrix.
> Having individual class score might help to narrow down problem with
> dataset pertaining to problematic class data.
>
> Thanks
>

-- 


[image: What's New with Xactly] <http://www.xactlycorp.com/email-click/>

<https://www.nyse.com/quote/XNYS:XTLY>  [image: LinkedIn] 
<https://www.linkedin.com/company/xactly-corporation>  [image: Twitter] 
<https://twitter.com/Xactly>  [image: Facebook] 
<https://www.facebook.com/XactlyCorp>  [image: YouTube] 
<http://www.youtube.com/xactlycorporation>

Mime
View raw message