<?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 What is the valid range of random seed? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/What-is-the-valid-range-of-random-seed/m-p/213135#M42650</link>
    <description>&lt;P&gt;In this case for DOE but I hope it's always the same range.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2019 18:28:13 GMT</pubDate>
    <dc:creator>vince_faller</dc:creator>
    <dc:date>2019-06-14T18:28:13Z</dc:date>
    <item>
      <title>What is the valid range of random seed?</title>
      <link>https://community.jmp.com/t5/Discussions/What-is-the-valid-range-of-random-seed/m-p/213135#M42650</link>
      <description>&lt;P&gt;In this case for DOE but I hope it's always the same range.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 18:28:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-is-the-valid-range-of-random-seed/m-p/213135#M42650</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2019-06-14T18:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is the valid range of random seed?</title>
      <link>https://community.jmp.com/t5/Discussions/What-is-the-valid-range-of-random-seed/m-p/213139#M42654</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2610"&gt;@vince_faller&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At first, I thought it would be something on the order of 1 to&amp;nbsp;&lt;SPAN&gt;(2^19937)-1, because that's the period of the Mersenne Twister generator JMP uses. But, though some trial and error I discovered i&lt;/SPAN&gt;t seems to be somewhere in the neighborhood of 1 to a 64bit integer. Below is a script where I fit two neural models with the seed set, and around&amp;nbsp;9,223,372,036,854,775,295 is where I cross over to the seed not actually being set (i.e., the models don't match since the holdout sets differ). Interestingly it's not always right at&amp;nbsp;9223372036854775295 that things break down. Sometimes it's&amp;nbsp;9223372036854775295+1, sometimes it's&amp;nbsp;9223372036854775295 + 1000. I'm confused by that, and I'm sorry I don't have an explanation for why; hopefully, someone else will!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );


seed = 9223372036854775295; //works, i.e., same results for validation


//seed = 9223372036854775295 + 1000; //does not work


Neural(
	Y( :sex ), X( :height, :weight ),
	Informative Missing( 0 ),
	Validation Method( "Holdback", 0.3333 ),
	Set Random Seed( seed ),
	Fit( NTanH( 3 ) )
);

Neural(
	Y( :sex ), X( :height, :weight ),
	Informative Missing( 0 ),
	Validation Method( "Holdback", 0.3333 ),
	Set Random Seed( seed ),
	Fit( NTanH( 3 ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I hope this helps a bit!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 19:30:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-is-the-valid-range-of-random-seed/m-p/213139#M42654</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2019-06-14T19:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is the valid range of random seed?</title>
      <link>https://community.jmp.com/t5/Discussions/What-is-the-valid-range-of-random-seed/m-p/213141#M42656</link>
      <description>&lt;P&gt;It looks like the internal generator uses integers from 1 to (2^32)-1 for the reset value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 19:37:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-is-the-valid-range-of-random-seed/m-p/213141#M42656</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2019-06-14T19:37:38Z</dc:date>
    </item>
  </channel>
</rss>

