build_instance_feature | R Documentation |
mild_df
data to the instance levelFlatten 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 )
data |
A |
qtls |
Quantiles to be extracted from each instance empirical distribution. |
mean |
A logical for whether or not to extract mean. |
sd |
A logical for whether or not to extract standard deviation. |
A summarized data.frame at the instance level.
Yifei Liu
summarize_samples()
for a more general way to make a similar data
frame.
mild_df1 <- generate_mild_df(positive_degree = 3, nbag = 3) df1 <- build_instance_feature(mild_df1, seq(0.05, 0.95, length.out = 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.