powered by
mild_df
Flatten mild_df type of data to regular multiple instance data where each instance is a vector by extracting distribution sample quantiles, mean and sd.
build_instance_feature( data, qtls = seq(0.05, 0.95, length.out = 10), mean = TRUE, sd = TRUE )
A summarized data.frame at the instance level.
A mild_df object.
Quantiles to be extracted from each instance empirical distribution.
A logical for whether or not to extract mean.
A logical for whether or not to extract standard deviation.
Yifei Liu
summarize_samples() for a more general way to make a similar data frame.
summarize_samples()
mild_df1 <- generate_mild_df(positive_degree = 3, nbag = 3) df1 <- build_instance_feature(mild_df1, seq(0.05, 0.95, length.out = 10))
Run the code above in your browser using DataLab