Modify the function cnlp_utils_best_split so that it also checks whether the best split would classify every value as a 1 if it is less than some cutoff value. Make sure that the output makes it clear whether the cutoff is a less than or greater than value.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here