Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.6K Views
|
8 Replies
|
3 Total Likes
View groups...
Share
Share this post:

UtilityFunction of Classify

Posted 5 years ago

I understand that taking into account ClassifierMeassurements info on a test set, you may want to tweak how probabilities are translated to prediction, or maybe you want to prevent some misclassifications for practical reasons for example diseased being classified as healthy. However I do not understand how the utility matrix and probabilities are computed to calculate the prediction. Please could somebody explain?

POSTED BY: Pablo Gil
8 Replies
Posted 5 years ago
POSTED BY: Pablo Gil

Here's an amended notebook that shows how you can get an (inferior) visualization in version 12.1

Attachments:
POSTED BY: Seth Chandler
Posted 5 years ago

Now I understand, thank you very much for your excellent work and quick answer Seth

POSTED BY: Pablo Gil

Interesting. It works in the 12.2 beta. It does not work, as you note in 12.1.1. Let me see if I can find a backwards compatible way of implementing the idea.

POSTED BY: Seth Chandler
Attachments:
POSTED BY: Seth Chandler
Posted 5 years ago

Many Thanks Seth, I'm studying your notebook it looks very interesting, however when: Create three RegionPlots with varying utility functions , does not execute and Mathematica reports:

Value of option UtilityFunction -> <|A-><|A->a,B->0.,C->0.|>,B-><|A->0.,B->b,C->0.|>,C-><|A->0.,B->0.,C->1.|>|> is not valid.

Please could you check it?, this code uses several functions I have never used, and it is taking me a while to fully understand it.

POSTED BY: Pablo Gil
Posted 5 years ago

Hi Pablo,

There are several online resources that explain how probabilities are calculated. Take a look at the Google Machine Learning Crash Course. Probability computation in logistic regression is described here. More details in the classification section.

POSTED BY: Rohit Namjoshi
Posted 5 years ago

Thank you, interesting resource.

POSTED BY: Pablo Gil
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard