Description Usage Arguments Details Examples
View source: R/classifier_plots.R
The main functions you want are classifierplots
or classifierplots_folder
.
Produce a suit of classifier diagnostic plots
1 | classifierplots(test.y, pred.prob)
|
test.y |
List of know labels on the test set |
pred.prob |
List of probability predictions on the test set |
1 2 3 4 | ## Not run:
classifierplots(example_predictions$test.y, example_predictions$pred.prob)
## End(Not run)
|
Loading required package: ggplot2
Loading required package: data.table
[1] "Calculating AUC ..."
[1] "(AUC) Sorting data ..."
[1] "(AUC) Calculating ranks ..."
[1] "AUC: 90.5603213507625"
[1] "Bootstrapping ROC curves"
[1] "Eval AUC"
[1] "Producing ROC plot"
[1] "Generating score density plot"
TableGrob (2 x 4) "arrange": 8 grobs
z cells name grob
1 1 (1-1,1-1) arrange gtable[layout]
2 2 (1-1,2-2) arrange gtable[layout]
3 3 (1-1,3-3) arrange gtable[layout]
4 4 (1-1,4-4) arrange rastergrob[GRID.rastergrob.11]
5 5 (2-2,1-1) arrange gtable[layout]
6 6 (2-2,2-2) arrange gtable[layout]
7 7 (2-2,3-3) arrange gtable[layout]
8 8 (2-2,4-4) arrange gtable[layout]
Warning messages:
1: Removed 40 rows containing missing values (geom_text).
2: Removed 41 rows containing missing values (geom_text).
3: Removed 43 rows containing missing values (geom_text).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.