<?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 Classification Matrix on Test Set in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145866#M1438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new in forum and in SAS.I am trying to find classification matrix on the Test Set, after using a Scorecard Node, but I am only able to see it for the training set.&lt;/P&gt;&lt;P&gt;I am uploading my diagram.&lt;/P&gt;&lt;P&gt;Any help would be much appreciated&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11149iC7F48C68AD47F4DA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Screen Shot 2014-05-05 at 23.49.14.png" title="Screen Shot 2014-05-05 at 23.49.14.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2014 22:51:05 GMT</pubDate>
    <dc:creator>SIlver_Geo</dc:creator>
    <dc:date>2014-05-05T22:51:05Z</dc:date>
    <item>
      <title>Classification Matrix on Test Set</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145866#M1438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new in forum and in SAS.I am trying to find classification matrix on the Test Set, after using a Scorecard Node, but I am only able to see it for the training set.&lt;/P&gt;&lt;P&gt;I am uploading my diagram.&lt;/P&gt;&lt;P&gt;Any help would be much appreciated&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11149iC7F48C68AD47F4DA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Screen Shot 2014-05-05 at 23.49.14.png" title="Screen Shot 2014-05-05 at 23.49.14.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 22:51:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145866#M1438</guid>
      <dc:creator>SIlver_Geo</dc:creator>
      <dc:date>2014-05-05T22:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Classification Matrix on Test Set</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145867#M1439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geo,&lt;/P&gt;&lt;P&gt;Thanks for the clear screenshot. It sure helps.&lt;/P&gt;&lt;P&gt;Not sure why you are not seeing the Classification Table for your Test Set. I assume you are seeing it for your Train and Validation, but not for your Test set?&lt;/P&gt;&lt;P&gt;Investigating on that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, I noticed that you kind of combined two popular approaches for this problem. A quick scoop of the 2 approaches and why I think you might not want to combine them.&lt;/P&gt;&lt;P&gt;Take a look at the attached image. &lt;IMG alt="forsilvergeo.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/6230_forsilvergeo.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow A (Data-&amp;gt;Partition-&amp;gt;IGN-&amp;gt;SC) is the most common way to model a binary target for a regulated environment like credit scoring.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IGN node bins your data into useful groupings, and lets you override the weight of evidence so that you can correct bias or better prepare your model for future data. It also preselects the most useful variables for the scorecard node, and rejects all other variables.&lt;/LI&gt;&lt;LI&gt;Scorecard node will run a logistic regression and transform the parameter estimates into a scorecard, which means that score points for each attribute can be interpreted as a "double the odds of an event happening" for each X number of points (20 points by default).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow B (Data-&amp;gt;Partition-&amp;gt;IGN-&amp;gt;Regression-&amp;gt;Cutoff is a common way to customize a regression when you do not care much about having score points to interpret.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IGN just like described above, this node comes up with the useful groups, and by default it only passes the most useful variables to the regression node.&lt;/LI&gt;&lt;LI&gt;Regression node can be customized to use a linear or a logistic regression.&lt;/LI&gt;&lt;LI&gt;Cutoff node enables you to override the 0.5 cutoff for a predicted probability to be considered an event. This helps you customize the assessment of your models.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; When you combine both approaches they way you showed in your screenshot, I am pretty sure that your Regression and Cutoff get ignored, although I haven't checked this thoroughly. The reason is that the Scorecard node will do its own regression anyway and there is no way to turn it off, and it cannot just pick up any findings from another regression node. A way to see this is that the Scorecard node is a model node on its own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps with your task. I will keep you posted with what I find about the test classification matrix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 15:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145867#M1439</guid>
      <dc:creator>M_Maldonado</dc:creator>
      <dc:date>2014-05-06T15:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Classification Matrix on Test Set</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145868#M1440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your concern, I understood know why I shouldn't have both regression and scorecard. In Data partition I have 66% train and 34% test. What I am trying to find is first the parameter estimates for the predictive variables using logistic regression after using coarse classification, which confuses me a bit because I have group variables and WoE variables. And then I am trying to find the classification matrix and ROC diagram&amp;nbsp; for both train and test sets with a 0.5 cut-off. I used Scorecard because it was the only node that had a result for the ROC curve.Any idea of how I can do it?&lt;/P&gt;&lt;P&gt;I hope what I am trying to find is possible.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 20:03:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145868#M1440</guid>
      <dc:creator>SIlver_Geo</dc:creator>
      <dc:date>2014-05-06T20:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Classification Matrix on Test Set</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145869#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what you want is to:&lt;/P&gt;&lt;P&gt;-have 66% train and 34% validation in the data partition node.&lt;BR /&gt;-if you want to use the 0.5 cutoff, you don't need the Cutoff node. If you want any other value than 0.5, then you do need the cutoff node to specify that value.&lt;/P&gt;&lt;P&gt;-add a Model Comparison node after any model node (like regression node) to see a ROC curve. Even if you only have one model to compare, this node will give you all the stats you want, including a ROC plot. Notice that the area under the ROC curve is called c-statistic in the Model Comparison node results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 20:08:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145869#M1441</guid>
      <dc:creator>M_Maldonado</dc:creator>
      <dc:date>2014-05-06T20:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Classification Matrix on Test Set</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145870#M1442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I am understanding more and more &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;. So validation set or test is the same?&lt;/P&gt;&lt;P&gt;I found ROC plot and I can see classification table for both train and validation sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also trying to find the accuracy ratio, is it the same with Gini coefficient?(Found it)&lt;/P&gt;&lt;P&gt;I can't find AUC or C-statistic, I am uploading a screenshot from my results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11689i159E09610BB9AD07/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Screen Shot 2014-05-06 at 22.26.02.png" title="Screen Shot 2014-05-06 at 22.26.02.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 20:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145870#M1442</guid>
      <dc:creator>SIlver_Geo</dc:creator>
      <dc:date>2014-05-06T20:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Classification Matrix on Test Set</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145871#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found AUC it is called ROC index.&lt;/P&gt;&lt;P&gt;My only issue now is regarding test set or validation set usage. From what I read is not the same. There should be a way to see the results for the test set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Classification-Matrix-on-Test-Set/m-p/145871#M1443</guid>
      <dc:creator>SIlver_Geo</dc:creator>
      <dc:date>2014-05-07T11:22:01Z</dc:date>
    </item>
  </channel>
</rss>

