use the current data 'mydata' and find a surrogate split

surrogate(rule, mydata, agreement_threshold = 0.7)

Arguments

rule

a given split rule

mydata

a dataset

agreement_threshold

Numeric. Threshold for the agreement to consider a variable as surrogate