spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirav Patel <npa...@xactlycorp.com>
Subject MulticlassClassificationEvaluator how weighted precision and weighted recall calculated
Date Mon, 03 Oct 2016 21:52:57 GMT
For example 3 class would it be?

weightedPrecision = ( TP1 * w1 + TP2 * w2 + TP3 * w3) /  ( TP1 * w1 + TP2 *
w2 + TP3 * w3) + ( FP1 * w1 + FP2 * w2 + FP3 * w3)

where TP1..2 are TP for each class.
w1, w2.. are wight for each class based on their distribution in sample
data?

and similar for recall? How about accuracy?




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