question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not sure if it’s the best place for this question but how to get the labels back when getting the score? I remember from the build 2018 video that during the demo they used PredictedLabelColumnOriginalValueConverter to get the label back instead of the index for the PredictedLabel but is there a way to apply this converter to all the values in the Score? If yes, how so?

I also remember they were using the ClassificationMetrics.ConfusionMatrix.ClassNames to get the labels back from the score but this isn’t really doable if you load the output in an app and don’t need/want to test your data.

I found the file Terms.txt in the output zip archive and I can definitely parse it to find the labels but I’m sure there’s a better way to do it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
GalOshricommented, May 30, 2018

Yes, the daily NuGet builds are available here.

1reaction
GalOshricommented, May 30, 2018

@cheesemacfly, just wanted to quickly follow up to see if #239 addresses your question. Take a look at TryGetScoreLabelNames here, which gives you the class names (in the same order as the scores).

Read more comments on GitHub >

github_iconTop Results From Across the Web

PyCaret: Classification Score vs Label Inconsistency
The Score represents the probability for the given Label to be true. That is Label=1 with a Score=0.7 means there is a 70%...
Read more >
Evaluating Multi-label Classifiers | by Aniruddha Karajgi
Evaluating a binary classifier using metrics like precision, recall and f1-score is pretty straightforward, so I won't be discussing that. Doing ...
Read more >
Multi Label Model Evaluation
In samples more than one classes exist! Therefore, the problem multi-label classification! After some training, some ML model produce the predicted scores.
Read more >
What does score mean? | Score Definition
Discover what score means as it relates to labels. View this superb glossary of labelling words. Label Planet - selling labels online since...
Read more >
Precision, Recall, Accuracy, and F1 Score for Multi-Label ...
In multi-label classification, the classifier assigns multiple labels (classes) to a single input. We have several multi-label classifiers ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found