<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Where to find confusion Matrix of test data in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Where-to-find-confusion-Matrix-of-test-data/m-p/311223#M4674</link>
    <description>I'm trying to find the confusion matrix of test data, but I can only see it for validation data. I can see the misclassification rate for the test data, so I know the confusion matrix must be somewhere.&lt;BR /&gt;&lt;BR /&gt;Any help very much appreciated.</description>
    <pubDate>Sun, 13 Nov 2016 06:20:26 GMT</pubDate>
    <dc:creator>Phosgene89</dc:creator>
    <dc:date>2016-11-13T06:20:26Z</dc:date>
    <item>
      <title>Where to find confusion Matrix of test data</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Where-to-find-confusion-Matrix-of-test-data/m-p/311223#M4674</link>
      <description>I'm trying to find the confusion matrix of test data, but I can only see it for validation data. I can see the misclassification rate for the test data, so I know the confusion matrix must be somewhere.&lt;BR /&gt;&lt;BR /&gt;Any help very much appreciated.</description>
      <pubDate>Sun, 13 Nov 2016 06:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Where-to-find-confusion-Matrix-of-test-data/m-p/311223#M4674</guid>
      <dc:creator>Phosgene89</dc:creator>
      <dc:date>2016-11-13T06:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where to find confusion Matrix of test data</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Where-to-find-confusion-Matrix-of-test-data/m-p/312620#M4700</link>
      <description>&lt;P&gt;&lt;SPAN style="color: #565656; font-size: 9pt;"&gt;&amp;nbsp;The modeling nodes do not show the confusion matrix for the test data set.&amp;nbsp;&amp;nbsp;You will need to write your own SAS code in order to get this confusion matrix.&amp;nbsp;&amp;nbsp;If you add a SAS Code node after the modeling node, you can write the following code to get the confusion matrix: &lt;BR /&gt; &lt;BR /&gt;***In this example, I am using the SAS Enterprise Miner macro variable of &amp;amp;em_import_test that will use the test data set.&amp;nbsp; I am using the target variable named target.&amp;nbsp;&amp;nbsp;If my target variable is bad, then I use f_bad and I_bad;&lt;BR /&gt; &lt;BR /&gt;proc freq data=&amp;amp;em_import_test; &lt;BR /&gt;tables f_target*I_target; &lt;BR /&gt;run; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2016 14:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Where-to-find-confusion-Matrix-of-test-data/m-p/312620#M4700</guid>
      <dc:creator>CraigDeVault</dc:creator>
      <dc:date>2016-11-18T14:19:12Z</dc:date>
    </item>
  </channel>
</rss>

