Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

How I can change the cutoff?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 15
Accepted Solution

How I can change the cutoff?

Hello everyone!

I have a problem. I'm doing a credit scoring model, and the cutoff of probability is 0.50. How should I do to change the cutoff?


Accepted Solutions
Solution
‎07-07-2015 09:29 AM
Super Contributor
Posts: 337

Re: How I can change the cutoff?

Posted in reply to nicopalacios

The cutoff node is just for analysis, but it will not change the cutoff on your score code. Use it just to find the value of the cutoff.

Once you have found a good value, and you are ready to put your code into production, run a Score node to get the optimized score code and manually change the 0.5 for some other value. By manually change I mean that you will hardcode this value when you put the score code in the environment you are planning to use for scoring new observations.

Does that help?

Thanks,

View solution in original post


All Replies
Super Contributor
Posts: 337

Re: How I can change the cutoff?

Posted in reply to nicopalacios

There are a couple ways to do this.

First you determine a good cutoff value (for example you can use Event Precision equals Recall option as suggested in ).

Next, you use a Score node to generate the optimize score code that you would put into production. And you change the value directly on the score code.

Another alternative would be to use the score code as it is to generate the predicted probabilities and write your own code to assign predicted events based on a new cutoff for the posterior probability.

I hope this helps!

-Miguel

Occasional Contributor
Posts: 15

Re: How I can change the cutoff?

Posted in reply to M_Maldonado

Hi Miguel, thanks for your answer.

I can not find where to change the cutoff. I tried in modificarle the "User imput," but it turns out to see the "data exported" continues using 0.50 as the cutoff. And in the Score node can not find an option to change the cutoff. What would be the correct procedure? Scorecard > Cutoff > Score?

Solution
‎07-07-2015 09:29 AM
Super Contributor
Posts: 337

Re: How I can change the cutoff?

Posted in reply to nicopalacios

The cutoff node is just for analysis, but it will not change the cutoff on your score code. Use it just to find the value of the cutoff.

Once you have found a good value, and you are ready to put your code into production, run a Score node to get the optimized score code and manually change the 0.5 for some other value. By manually change I mean that you will hardcode this value when you put the score code in the environment you are planning to use for scoring new observations.

Does that help?

Thanks,

Occasional Contributor
Posts: 15

Re: How I can change the cutoff?

Posted in reply to M_Maldonado

excellent!

thank you

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 624 views
  • 3 likes
  • 2 in conversation