You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (Jira)" <ji...@apache.org> on 2019/08/20 11:44:00 UTC
[jira] [Reopened] (SPARK-21178) Add support for label specific
metrics in MulticlassClassificationEvaluator
[ https://issues.apache.org/jira/browse/SPARK-21178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen reopened SPARK-21178:
-------------------------------
> Add support for label specific metrics in MulticlassClassificationEvaluator
> ---------------------------------------------------------------------------
>
> Key: SPARK-21178
> URL: https://issues.apache.org/jira/browse/SPARK-21178
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 2.1.1
> Reporter: Aman Rawat
> Priority: Major
> Labels: bulk-closed
>
> MulticlassClassificationEvaluator is restricted to the global metrics - f1, weightedPrecision, weightedRecall, accuracy
> However, we have a requirement where we would want to optimize the learning on metric for a specific label - for instance, true positive rate (label 'B')
> For example : Take a fraud detection use-case with labels 'good' and 'fraud' being passed to a manual verification team. We want to maximize the true-positive rate of ('fraud') label, so that whenever the model predicts a data point as 'good', it has a strong likelihood of it being 'good', and the manual team can ignore it.
> While it's ok to predict some 'good' data points as 'fraud', as it will be taken care by the manual verification team.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org