<?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 Efficient formula in Israel JMP Users -  קבוצת משתמשים - ישראל</title>
    <link>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108423#M41</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I have big data table (~30million rows*20 columns) and this Pass/Fail test makes JMP stuck.&lt;/P&gt;&lt;P&gt;The PC is Windows 10 64-bit, i7-4770 @&amp;nbsp;3.4Ghz, SSD and 32GB DDR3 1600Mhz.&lt;/P&gt;&lt;P&gt;The JSL is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cctable &amp;lt;&amp;lt; New Column( "New status", Character, Nominal, Formula( If( :result &amp;lt; :L | :result &amp;gt; :H, "Fail", "Pass" ) ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Can it be more efficient? Is there's a better choise in JMP to do it?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ido&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2019 06:02:19 GMT</pubDate>
    <dc:creator>Idokol</dc:creator>
    <dc:date>2019-01-31T06:02:19Z</dc:date>
    <item>
      <title>Efficient formula</title>
      <link>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108423#M41</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I have big data table (~30million rows*20 columns) and this Pass/Fail test makes JMP stuck.&lt;/P&gt;&lt;P&gt;The PC is Windows 10 64-bit, i7-4770 @&amp;nbsp;3.4Ghz, SSD and 32GB DDR3 1600Mhz.&lt;/P&gt;&lt;P&gt;The JSL is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cctable &amp;lt;&amp;lt; New Column( "New status", Character, Nominal, Formula( If( :result &amp;lt; :L | :result &amp;gt; :H, "Fail", "Pass" ) ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Can it be more efficient? Is there's a better choise in JMP to do it?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ido&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 06:02:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108423#M41</guid>
      <dc:creator>Idokol</dc:creator>
      <dc:date>2019-01-31T06:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient formula</title>
      <link>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108427#M42</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Don't use column formulas with such a table.&lt;/P&gt;&lt;P&gt;Try to run a calculation with JSL and paste the results.&lt;/P&gt;&lt;P&gt;Please see attached a table and a script I used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 07:14:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108427#M42</guid>
      <dc:creator>tom_abramov</dc:creator>
      <dc:date>2019-01-31T07:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient formula</title>
      <link>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108457#M43</link>
      <description>&lt;P&gt;Thanks, but the "New Column( ... )" command takes time and everything get's stuck as well.&lt;/P&gt;&lt;P&gt;I will try to use update/join&lt;/P&gt;&lt;P&gt;If you (or anyone else :)&lt;/img&gt; ) have a nother idea- I will glad to hear it.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 15:23:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108457#M43</guid>
      <dc:creator>Idokol</dc:creator>
      <dc:date>2019-01-31T15:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient formula</title>
      <link>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108600#M44</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My test takes 15 seconds to create the table and 15 seconds to add the extra column. I am using &amp;lt;&amp;lt;runFormulas to make the formula evaluate immediately rather than waiting for idle time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;start = Tick Seconds();
dt = New Table( "Untitled",
	Add Rows( 30e6 ),
	New Column( "L", Numeric, "Continuous", Format( "Best", 12 ), Formula( Random Integer( 1, 9 ) ) ),
	New Column( "result", Numeric, "Continuous", Format( "Best", 12 ), Formula( Random Integer( 1, 9 ) ) ),
	New Column( "H", Numeric, "Continuous", Format( "Best", 12 ), Formula( Random Integer( 1, 9 ) ) )
);
dt&amp;lt;&amp;lt;runformulas;
stop = Tick Seconds();
Show("create", stop - start, N Rows( dt ) );

start = Tick Seconds();
dt &amp;lt;&amp;lt; New Column( "New status", Character, Nominal, Formula( If( :result &amp;lt; :L | :result &amp;gt; :H, "Fail", "Pass" ) ) );
dt &amp;lt;&amp;lt; runformulas;
stop = Tick Seconds();
Show( "add", stop - start, N Rows( dt ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"create";&lt;BR /&gt;stop - start = 12.8833333333605;&lt;BR /&gt;N Rows(dt) = 30000000;&lt;BR /&gt;"add";&lt;BR /&gt;stop - start = 12.6833333332906;&lt;BR /&gt;N Rows(dt) = 30000000;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Formula added" style="width: 820px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15359iFD73677A0F5A35B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Formula added" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Formula added&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 11:46:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/108600#M44</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2019-02-01T11:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient formula</title>
      <link>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/109012#M45</link>
      <description>&lt;P&gt;Thanks!&lt;BR /&gt;I will do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although what that helped the most was table of 1M * 100 rather then 80M * 5&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 12:52:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Israel-JMP-Users-%D7%A7%D7%91%D7%95%D7%A6%D7%AA-%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%99%D7%9D/Efficient-formula/m-p/109012#M45</guid>
      <dc:creator>Idokol</dc:creator>
      <dc:date>2019-02-06T12:52:57Z</dc:date>
    </item>
  </channel>
</rss>

