Check whether the target column is unbalanced (for regression it bins values via quantiles)

check_y_balance(df, y, verbose = TRUE)

Arguments

df

A data source, that is one of the major R formats: data.table, data.frame, matrix, and so on.

y

A string that indicates a target column name.

verbose

A logical value, if set to TRUE, provides all information about the process, if FALSE gives none.

Value

A list with every line of the sub-report.