R/mlr_measures_classif_confusion.R
Based on a confusion matrix for binary classification problems, allows to calculate various performance measures. Implemented are the following measures based on https://en.wikipedia.org/wiki/Template:DiagnosticTesting_Diagram:
"tp"
: True Positives.
"fn"
: False Negatives.
"fp"
: False Positives.
"tn"
: True Negatives.
"tpr"
: True Positive Rate.
"fnr"
: False Negative Rate.
"fpr"
: False Positive Rate.
"tnr"
: True Negative Rate.
"ppv"
: Positive Predictive Value.
"fdr"
: False Discovery Rate.
"for"
: False Omission Rate.
"npv"
: Negative Predictive Value.
"precision"
: Alias for "ppv"
.
"recall"
: Alias for "tpr"
.
"sensitivity"
: Alias for "tpr"
.
"specificity"
: Alias for "tnr"
.
If the denominator is 0, the score is returned as NA
.
MeasureClassifConfusion confusion_measures(m, type = NULL)
| m | ( |
|---|---|
| type | ( |
R6::R6Class()
inheriting from MeasureClassif.
task = mlr_tasks$get("wine") learner = mlr_learners$get("classif.rpart") e = Experiment$new(task, learner)$train()$predict()#> INFO [mlr3] Training learner 'classif.rpart' on task 'wine' ... #> INFO [mlr3] Predicting with model of learner 'classif.rpart' on task 'wine' ...#> precision recall #> 0.9661017 0.9661017


I am currently a student at the University of Central Missouri, and I am a Computer Science student there. I enjoy video games thoroughly, and I also enjoy using the Linux operating system. I am/have been involved in multiple groups/organizations, the latest of which being a small media group, The *Nixed Report
If you need to contact me or wish to know more, you can check out my Facebook page, or take a look at my Steam profile to see what games I play, or look at some of the posts I have put on Tumblr.


Bollywood inspired lehenga ideas for the upcoming wedding season From Ananya Panday to Karisma Kapoor, dazzle like your favourite celebrity with these lehenga picks to make your wedding festivities even brighter. 24 Nov 2019, 04:44 Ananya Panday looks ravishing in this one-shoulder lime green lehenga by Amit Aggarwal. She's kept it minimal with her accessories with a simple maang tikka and sleek hair. (Photo: Varinder Chawla) Karisma Kapoor looks pretty in this light pastel pink ensemble by Manish Malhotra. We like how the dupatta is draped, fitting seamlessly with the lehenga. She's completed her look with fine jewellery and hair tied in a neat bun. (Photo: @realkarismakapoor/ Instagram) Anushka Sharma looks ethereal in this Sabysachi creation which she's teamed with heavy junky jewellery, smoky eyes and nude lip. (Photo: Varinder Chawla) The Dabangg actor, Sonakshi Sinha was dazzling in this all black embellished lehenga from the house of Falguni Shane Peacock. The look was teamed up with blow-dried hair, smokey eyes, nude pink lips and chandbalis with pearls. (Photo: Varinder Chawla) Kiara Advani looked pretty as a picture in Akanksha Gajria ensemble. The blouse was embellished sequins.While the lehenga had gorgeous yellow and red print. (Photo: Varinder Chawla) Janhvi Kapoor was spotted in a Manish Malhotra ensemble which was emblished with multi colour stones and had sequins on her light beige lehenga. Her look was completed with a hint of pink on her eyes. (Photo: Varinder Chawla) Aditi Rao Hydari was spotted in a raw mango lehenga which had brocade detailing and was completed with a black blouse. We like how she's draped her dupatta which indeed, looks effortless. She pulled her look together with statement earrings from Mahesh Notandass and a black potli. (Photo: Varinder Chawla) Bebo aka Kareena Kapoor Khan was spotted wearing a raw mango lehenga with a deep V neck blouse and completed her look with kohl-rimmed eyes and hair tied in a neat bun. (Photo: Varinder Chawla) The Bala actor, Bhumi Pednekar, was glowing in a black lehenga with intricate detailing and a sequined blouse. which she had teamed up with silver chandbalis and a silver embellished potli. (Photo: Varinder Chawla) Diana Penty looked like a vision in a powder blue lehenga with flower motifs in yellow and fuschia. She completed her look with a box clutch and light make-up. (Photo: Varinder Chawla) Dia Mirza looked nothing less than a fairy in this all-white sequined lehenga with a sheer dupatta and a potli. (Photo: Varinder Chawla)


{% load static %}
Handcrafted by Fayed Raza, Rachael wei, Akaash Kolachina, Ricky Zhao, Nakul Iyer, Aryaman Singhal, and Rohit Manjunath