Description Usage Arguments Value Author(s) See Also Examples
View source: R/performance-analytics.R
Given a n
by n
confusion matrix, the function returns a
list
of n
2 by 2 tables with false positives, false
negatives, false positives and true negative for each initial variables.
1 |
obj |
An instance of class |
naAs0. |
A |
A list
of length nrow(obj)
and names
rownames(obj)
.
Laurent Gatto <lg390@cam.ac.uk>
The tp
, tn
, fp
,
fn
, methods to extract the respective classification
outcomes from a contingency matrix.
1 2 3 4 |
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, cbind, colMeans, colSums, colnames, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
setdiff, sort, table, tapply, union, unique, unsplit, which,
which.max, which.min
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: annotate
Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: IRanges
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Loading required package: XML
Loading required package: cluster
Warning message:
replacing previous import 'BiocGenerics::var' by 'stats::var' when loading 'MLInterfaces'
$setosa
known
predicted TRUE FALSE
TRUE 24 26
FALSE 26 74
$versicolor
known
predicted TRUE FALSE
TRUE 19 31
FALSE 31 69
$virginica
known
predicted TRUE FALSE
TRUE 16 34
FALSE 34 66
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.