predictPopulation | R Documentation |
This function evaluates the class of a population of models for a dataset X
predictPopulation(
X,
y,
clf,
pop,
plot = FALSE,
col = c("deepskyblue4", "firebrick4"),
fill = c("deepskyblue1", "firebrick1")
)
X: |
dataset to predit |
y: |
the real y |
pop: |
a population of models. This can be an FBM for instance. |
clf: |
an object containing the different parameters of the classifier |
plot: |
logical (default:FALSE), returns a barplot for each sample with the prevalence of each class by the population of models |
col: |
manual scaling colors (default:'c("deepskyblue4", "firebrick4")'). |
fill: |
manual scaling colors (default:'c("deepskyblue1", "firebrick1")'). |
A dataframe of predicted classes with samples in columns and models in rows, 'if(plot = FALSE)'. Otherwise it will return a ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.