Description Usage Arguments Value Author(s) Examples
View source: R/performance.metrics.R
This will provide a concise data.frame of confusion matrix
and ROC statistics from the results of fs.stability
or
fs.ensembl.stability
.
1 | performance.metrics(fit.model, digits = max(3, getOption("digits") - 3))
|
fit.model |
An fs.stability or fs.ensembl.stability object |
digits |
How many digits to round values |
Dataframe of performance statistics by model
Charles E. Determan Jr.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | dat.discr <- create.discr.matrix(
create.corr.matrix(
create.random.matrix(nvar = 50,
nsamp = 100,
st.dev = 1,
perturb = 0.2)),
D = 10
)
vars <- dat.discr$discr.mat
groups <- dat.discr$classes
fits <- fs.stability(vars,
groups,
method = c("plsda", "rf"),
f = 10,
k = 3,
k.folds = 10,
verbose = 'none')
performance.metrics(fits)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.