<?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 Re: Export Model from VA for Scoring (Cutoff Threshold) in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Export-Model-from-VA-for-Scoring-Cutoff-Threshold/m-p/877216#M17248</link>
    <description>The threshold only affects the label on which the probability is categorized like event yes or no.&lt;BR /&gt;&lt;BR /&gt;And therefore it affects accuracy metrics confusion matrix and false positives. &lt;BR /&gt;&lt;BR /&gt;The formula for the logistic regression is independent from the threshold value.&lt;BR /&gt;&lt;BR /&gt;As you treat the scoring code in SAS Studio you can easily change the value in the code.&lt;BR /&gt;</description>
    <pubDate>Wed, 24 May 2023 07:52:02 GMT</pubDate>
    <dc:creator>acordes</dc:creator>
    <dc:date>2023-05-24T07:52:02Z</dc:date>
    <item>
      <title>Export Model from VA for Scoring (Cutoff Threshold)</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Export-Model-from-VA-for-Scoring-Cutoff-Threshold/m-p/877087#M17247</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a logistic regression model where I do the scoring using the Export model... option, getting the code to build the model on VA and then putting it on SAS Studio making some minor changes to add the scoring data and I finally complete the scoring.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="znhnm_0-1684852647759.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84206i70B0A5A7C39B839E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="znhnm_0-1684852647759.png" alt="znhnm_0-1684852647759.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Also, the default prediction cutoff is 0.5 in VA and it is indicated in the code with this line:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if P_StatusDead &amp;gt;= 0.5&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="znhnm_1-1684853224175.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84207iBE75306DC30A2645/image-size/medium?v=v2&amp;amp;px=400" role="button" title="znhnm_1-1684853224175.png" alt="znhnm_1-1684853224175.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;However, I realize that when I change the Prediction cutoff on VA, say, make it 0.3, the code doesn't get updated. Why this is happenning and is there a way to prevent from this to happen?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 14:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Export-Model-from-VA-for-Scoring-Cutoff-Threshold/m-p/877087#M17247</guid>
      <dc:creator>znhnm</dc:creator>
      <dc:date>2023-05-23T14:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export Model from VA for Scoring (Cutoff Threshold)</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Export-Model-from-VA-for-Scoring-Cutoff-Threshold/m-p/877216#M17248</link>
      <description>The threshold only affects the label on which the probability is categorized like event yes or no.&lt;BR /&gt;&lt;BR /&gt;And therefore it affects accuracy metrics confusion matrix and false positives. &lt;BR /&gt;&lt;BR /&gt;The formula for the logistic regression is independent from the threshold value.&lt;BR /&gt;&lt;BR /&gt;As you treat the scoring code in SAS Studio you can easily change the value in the code.&lt;BR /&gt;</description>
      <pubDate>Wed, 24 May 2023 07:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Export-Model-from-VA-for-Scoring-Cutoff-Threshold/m-p/877216#M17248</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2023-05-24T07:52:02Z</dc:date>
    </item>
  </channel>
</rss>

