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

Confusion matrix in Enterprise Miner

Accepted Solution Solved
Reply
Contributor
Posts: 43
Accepted Solution

Confusion matrix in Enterprise Miner

Dear Friends,

I want to know how to get the confusion matrix in SAS Enterprise Miner 6.2,

Thanks


Accepted Solutions
Solution
‎09-17-2014 10:23 AM
Super Contributor
Posts: 337

Re: Confusion matrix in Enterprise Miner

Posted in reply to husseinmazaar

Hi,

In a bunch of places Smiley Happy

Here 3 that I can think top of my mind.

1. Results Output

On the results of a model node, go to the output and punch the keys Ctrl+F to find "Event Classification Table".

You will see one like the below:

Event Classification Table

Data Role=TRAIN Target=BAD

  False       True            False       True

Negative    Negative    Positive    Positive

   364        4518         253         825

2. Classification chart

If you are a visual person, see this in a chart! After you run a model node, go to results, then browse to View->Assessment->Classification chart. This gives you a stacked bar chart of correct vs incorrect predicted target. To see it in a table format, click on the table icon (2nd icon right to left). You will have all the info you need (target, outcome, target percentage, total percentage, etc).

3. Model comparison node

When your diagram has a categorical target variable, the model comparison will use misclassification as the default selection statistic. You will find the Event Classificaiton Table of all models connected to that model comparison node.

Was this a good answer?

Good luck!

-Miguel

View solution in original post


All Replies
Solution
‎09-17-2014 10:23 AM
Super Contributor
Posts: 337

Re: Confusion matrix in Enterprise Miner

Posted in reply to husseinmazaar

Hi,

In a bunch of places Smiley Happy

Here 3 that I can think top of my mind.

1. Results Output

On the results of a model node, go to the output and punch the keys Ctrl+F to find "Event Classification Table".

You will see one like the below:

Event Classification Table

Data Role=TRAIN Target=BAD

  False       True            False       True

Negative    Negative    Positive    Positive

   364        4518         253         825

2. Classification chart

If you are a visual person, see this in a chart! After you run a model node, go to results, then browse to View->Assessment->Classification chart. This gives you a stacked bar chart of correct vs incorrect predicted target. To see it in a table format, click on the table icon (2nd icon right to left). You will have all the info you need (target, outcome, target percentage, total percentage, etc).

3. Model comparison node

When your diagram has a categorical target variable, the model comparison will use misclassification as the default selection statistic. You will find the Event Classificaiton Table of all models connected to that model comparison node.

Was this a good answer?

Good luck!

-Miguel

🔒 This topic is solved and locked.

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

Discussion stats
  • 1 reply
  • 3675 views
  • 1 like
  • 2 in conversation