Metrics are functions that tell how much information would be lost for a given reduction in the data. reduce. as_measure() is a helper function to create new metrics to be used in partitioners. partitioners can be created with as_partitioner().

measure_min_r2() assesses information loss by calculating the minimum R-squared for the target variables.

measure_min_r2(.partition_step)

Arguments

.partition_step

a partition_step object

Value

a partition_step object