friedman_mse_impurity
Module: strata.tree • Kind: function
Source: strata/tree/criterion.mojo
def friedman_mse_impurity[dtype: DType]( y: List[Scalar[dtype]], left_indices: List[Int], right_indices: List[Int],) -> Float64from strata.tree import friedman_mse_impurityCalculates Friedman’s improvement score between split partitions.