(self)
return self.color_palette.value_to_qcolor(
            std, low=min_std, high=max_std)
Color the nodes with respect to the variance of instances inside.
Color the nodes with respect to the variance of instances inside.
Color the nodes with respect to the variance of instances inside .
def _color_var(self):
        """Color the nodes with respect to the variance of instances inside."""
        min_std, max_std = 0, np.std(self.tree.instances.Y)
        instances = self.tree.get_instances_in_nodes(self.label)
        std = np.std(instances.Y)
        return self.color_palette.value_to_qcolor(
            std, low=min_std, high=max_std)
def _color_var ( self ) : min_std , max_std = 0 , np . std ( self . tree . instances . Y ) instances = self . tree . get_instances_in_nodes ( self . label ) std = np . std ( instances . Y ) return self . color_palette . value_to_qcolor ( std , low = min_std , high = max_std )