- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How to use Partition platform in JSL?
Is there any way to automate the Partition platform using JSL?
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:
1) Open "Consumer Prices.jmp"
2) Analyze -> Predictive Modeling -> Partition
3) Cast Price as Y, Date as X, and Series Full as By, with a 0.25 validation portion
4) Click "Go" for each commodity to do the automated partition
5) Save Columns -> Save Prediction Formula
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.)
Using JMP Pro 14.3.0 on Windows 10
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:
1) Open "Consumer Prices.jmp"
2) Analyze -> Predictive Modeling -> Partition
3) Cast Price as Y, Date as X, and Series Full as By, with a 0.25 validation portion
4) Click "Go" for each commodity to do the automated partition
5) Save Columns -> Save Prediction Formula
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.)
Using JMP Pro 14.3.0 on Windows 10
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to use Partition platform in JSL?
Names Default to Here( 1 );
// example
dt = Open( "$SAMPLE_DATA/Consumer Prices.jmp" );
tree = dt << Partition(
Y( :Price ),
X( :Date ),
Validation Portion( 0.25 ),
Show Tree( 0 ),
Split History( 1 ),
Informative Missing( 1 ),
By( :Series Full )
);
tree << Go;
Wait( 0 );
tree << Save Prediction Formula;
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to use Partition platform in JSL?
Names Default to Here( 1 );
// example
dt = Open( "$SAMPLE_DATA/Consumer Prices.jmp" );
tree = dt << Partition(
Y( :Price ),
X( :Date ),
Validation Portion( 0.25 ),
Show Tree( 0 ),
Split History( 1 ),
Informative Missing( 1 ),
By( :Series Full )
);
tree << Go;
Wait( 0 );
tree << Save Prediction Formula;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to use Partition platform in JSL?
Thanks!