squared_error_impurity
Module: strata.tree • Kind: function
Source: strata/tree/criterion.mojo
def squared_error_impurity[dtype: DType]( y: List[Scalar[dtype]], indices: List[Int],) -> Float64from strata.tree import squared_error_impurityCalculates sample variance for target subset.