For the latest version of JMP Help, visit JMP.com/help.


Publication date: 11/10/2021

Partition

obj<<Initial Splits(condition, {left}, {right})

Description

Describes the splits that are performed.

Example

dt = Open( "$SAMPLE_DATA/Car Poll.jmp" );
obj = Partition(
	Y( :country ),
	X( :sex, :marital status, :age, :type, :size ),
	Method( "Decision Tree" ),
	Initial Splits( :size == {"Large"}, {}, {:size == {"Medium"}} )
);

Notes

The condition is for the left side and is either [name compareoperator value] or [name == list of values]. The left is an empty list if the right has splits. Omit the right side if there are no splits. The left and right continue recursively in this format.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).