powered by
summary method for "split_df" class.
# S3 method for split_df summary(object, ...)
NULL is returned. However, the split train set and test set information are displayed. The output information is as follows.:
Random seed
Number of train sets and test sets
Name of target variable
Target variable minority class and majority class information (label and ratio)
an object of class "split_df", usually, a result of a call to split_df().
further arguments passed to or from other methods.
summary.split_df provides information on the number of two split data sets, minority class and majority class.
library(dplyr) # Credit Card Default Data head(ISLR::Default) # Generate data for the example sb <- ISLR::Default %>% split_by(default) sb summary(sb)
Run the code above in your browser using DataLab