View source: R/df_get_feature_bins.R
df_get_feature_bins | R Documentation |
This function takes a matrix and returns a matrix with the designated number of bins for the features. Depending on the range and distribution of the numeric feature, this function may return less than the designated number of bins.
df_get_feature_bins(data_, features_, dataType = "numeric")
data_ |
A data.frame containing features that need to be binned. |
features_ |
A vector of the numeric feature names to be binned. |
dataType |
"numeric" or "categorical" |
NOTE: This function currently only supports NUMERIC and/or CHARACTER data types. If you have other types of data, please filter them out before passing to the function.
A data.frame containing the feature name, bin number, min value, and max value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.