发布日期: 11/15/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.

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).