salesforce / TransmogrifAI

TransmogrifAI (pronounced trăns-mŏgˈrə-fī) is an AutoML library for building modular, reusable, strongly typed machine learning workflows on Apache Spark with minimal hand-tuning
https://transmogrif.ai
BSD 3-Clause "New" or "Revised" License
2.24k stars 392 forks source link

Add topk metrics for multiclass classifier #515

Closed marksho-sfdc closed 3 years ago

marksho-sfdc commented 4 years ago

Related issues N/A

Describe the proposed solution Adds the ability to get multiclass classification metrics on topK labels

Describe alternatives you've considered N/A

Additional context N/A

salesforce-cla[bot] commented 4 years ago

Thanks for the contribution! It looks like @marksho-sfdc is an internal user so signing the CLA is not required. However, we need to confirm this.

codecov[bot] commented 4 years ago

Codecov Report

Merging #515 into master will increase coverage by 0.01%. The diff coverage is 90.90%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #515      +/-   ##
==========================================
+ Coverage   86.70%   86.71%   +0.01%     
==========================================
  Files         347      347              
  Lines       11830    11851      +21     
  Branches      382      384       +2     
==========================================
+ Hits        10257    10277      +20     
- Misses       1573     1574       +1     
Impacted Files Coverage Δ
...op/evaluators/OpMultiClassificationEvaluator.scala 94.84% <90.90%> (+0.10%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b45524e...0f721e9. Read the comment docs.