<?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: How to use Partition platform in JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-use-Partition-platform-in-JSL/m-p/430472#M68017</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );

// example
dt = Open( "$SAMPLE_DATA/Consumer Prices.jmp" );

tree = dt &amp;lt;&amp;lt; Partition(
	Y( :Price ),
	X( :Date ),
	Validation Portion( 0.25 ),
	Show Tree( 0 ),
	Split History( 1 ),
	Informative Missing( 1 ),
	By( :Series Full )
);

tree &amp;lt;&amp;lt; Go;
Wait( 0 );
tree &amp;lt;&amp;lt; Save Prediction Formula;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 26 Oct 2021 15:15:48 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2021-10-26T15:15:48Z</dc:date>
    <item>
      <title>How to use Partition platform in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-Partition-platform-in-JSL/m-p/430279#M68000</link>
      <description>Is there any way to automate the Partition platform using JSL?&lt;BR /&gt;&lt;BR /&gt;E.g., say I want to model the "Consumer Prices.jmp" dataset as step-function changes in each commodity price. I can do this in the Partition Platform:&lt;BR /&gt;&lt;BR /&gt;1) Open "Consumer Prices.jmp"&lt;BR /&gt;2) Analyze -&amp;gt; Predictive Modeling -&amp;gt; Partition&lt;BR /&gt;3) Cast Price as Y, Date as X, and Series Full as By, with a 0.25 validation portion&lt;BR /&gt;4) Click "Go" for each commodity to do the automated partition&lt;BR /&gt;5) Save Columns -&amp;gt; Save Prediction Formula&lt;BR /&gt;&lt;BR /&gt;Now, is there any way to replicate that in JSL? When I try to Save Script it saves a partition with an Initial Splits argument with the split dates pre-filled, but I don't know how to script the analysis that selects the splits (i.e. the analysis done when you click the "Go" button.)&lt;BR /&gt;&lt;BR /&gt;Using JMP Pro 14.3.0 on Windows 10</description>
      <pubDate>Fri, 09 Jun 2023 18:03:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-Partition-platform-in-JSL/m-p/430279#M68000</guid>
      <dc:creator>markschwab</dc:creator>
      <dc:date>2023-06-09T18:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Partition platform in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-Partition-platform-in-JSL/m-p/430472#M68017</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );

// example
dt = Open( "$SAMPLE_DATA/Consumer Prices.jmp" );

tree = dt &amp;lt;&amp;lt; Partition(
	Y( :Price ),
	X( :Date ),
	Validation Portion( 0.25 ),
	Show Tree( 0 ),
	Split History( 1 ),
	Informative Missing( 1 ),
	By( :Series Full )
);

tree &amp;lt;&amp;lt; Go;
Wait( 0 );
tree &amp;lt;&amp;lt; Save Prediction Formula;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Oct 2021 15:15:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-Partition-platform-in-JSL/m-p/430472#M68017</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-10-26T15:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Partition platform in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-Partition-platform-in-JSL/m-p/430486#M68021</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 15:32:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-Partition-platform-in-JSL/m-p/430486#M68021</guid>
      <dc:creator>markschwab</dc:creator>
      <dc:date>2021-10-26T15:32:56Z</dc:date>
    </item>
  </channel>
</rss>

