R/check_data.R
check_y_balance.Rd
Check whether the target column is unbalanced (for regression it bins values via quantiles)
check_y_balance(df, y, verbose = TRUE)
A data source, that is one of the major R formats: data.table, data.frame, matrix, and so on.
A string that indicates a target column name.
A logical value, if set to TRUE, provides all information about the process, if FALSE gives none.
A list with every line of the sub-report.