BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
husseinmazaar
Quartz | Level 8

Dear Friends,

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

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
M_Maldonado
Barite | Level 11

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

1 REPLY 1
M_Maldonado
Barite | Level 11

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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

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