<?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 Setting Seed for Cross validation in proc forest in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Setting-Seed-for-Cross-validation-in-proc-forest/m-p/720125#M8577</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Is there a way to set a seed for the cross validation statement in proc forest. I have already set a seed for the proc forest model and it states in the log that the cross validation is using the same seed. However I noticed that when I run the same model multiple times, the Cross-Validation Fit Statistics differs for each run.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 07:34:51 GMT</pubDate>
    <dc:creator>NichelleT</dc:creator>
    <dc:date>2021-02-18T07:34:51Z</dc:date>
    <item>
      <title>Setting Seed for Cross validation in proc forest</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Setting-Seed-for-Cross-validation-in-proc-forest/m-p/720125#M8577</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Is there a way to set a seed for the cross validation statement in proc forest. I have already set a seed for the proc forest model and it states in the log that the cross validation is using the same seed. However I noticed that when I run the same model multiple times, the Cross-Validation Fit Statistics differs for each run.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 07:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Setting-Seed-for-Cross-validation-in-proc-forest/m-p/720125#M8577</guid>
      <dc:creator>NichelleT</dc:creator>
      <dc:date>2021-02-18T07:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Seed for Cross validation in proc forest</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Setting-Seed-for-Cross-validation-in-proc-forest/m-p/720332#M8578</link>
      <description>&lt;P&gt;Post your code and the log so we can see what kind of cross-validation you are using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using the PARTITION statement, you can set the seed there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some types of cross-validation do not use randomness. For example, you can put observations 1,6,11,16,... into one fold, observations 2,7,12,17,... into the second fold, etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 21:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Setting-Seed-for-Cross-validation-in-proc-forest/m-p/720332#M8578</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-02-18T21:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Seed for Cross validation in proc forest</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Setting-Seed-for-Cross-validation-in-proc-forest/m-p/721783#M8583</link>
      <description>&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;This is the code for the proc forest procedure with cross validation statement:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;proc forest data=MODELINPUT seed=1854718772&lt;BR /&gt;maxdepth=29&lt;BR /&gt;ntree=100;&lt;BR /&gt;target tgt / level=interval;&lt;BR /&gt;input var1 var2 var3 var4 var5 var6 var7 var8 var9 / level=interval;&lt;BR /&gt;input var10 / level=nominal;&lt;BR /&gt;crossvalidation kfold=5;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also, I have attached a screenshot of the log.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log.PNG" style="width: 734px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55147i7453159E938D6670/image-size/large?v=v2&amp;amp;px=999" role="button" title="log.PNG" alt="log.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 08:51:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Setting-Seed-for-Cross-validation-in-proc-forest/m-p/721783#M8583</guid>
      <dc:creator>NichelleT</dc:creator>
      <dc:date>2021-02-25T08:51:22Z</dc:date>
    </item>
  </channel>
</rss>

