roc Questions

1

Solved

I'm studing the effects of performing a calibrated classifier and I read that the aim of calibrating is to make a classifier's prediction more 'reliable'. With this in mind I think that a calibrate...
Mobile asked 23/1, 2019 at 1:43

1

Solved

I'm using scikit learn, and I want to plot the precision and recall curves. the classifier I'm using is RandomForestClassifier. All the resources in the documentations of scikit learn uses binary c...
Sift asked 11/5, 2019 at 12:54

2

Solved

What I need is to: Apply a logistic regression classifier Report the per-class ROC using the AUC. Use the estimated probabilities of the logistic regression to guide the construction of the ROC...
Machinist asked 2/5, 2019 at 0:25

2

I am referring to the below link and sample, and post the plot diagram from this page where I am confused. My confusion is, there are only 4 threshold, but it seems the roc curve has many data poin...
Wainscot asked 25/8, 2016 at 22:47

2

Solved

I am able to get a ROC curve using scikit-learn with fpr, tpr, thresholds = metrics.roc_curve(y_true,y_pred, pos_label=1), where y_true is a list of values based on my gold standard (i.e., 0 for ne...
Parhe asked 1/10, 2013 at 19:24

2

Solved

I would like to know if there is a way to plot the average ROC Curve from the cross-validation data of a SVM-RFE model generated with the caret package. My results are: Recursive feature selectio...
Jokjakarta asked 13/5, 2016 at 16:46

1

Solved

I am using my test set as a validation set. I used similar approach as How to compute Receiving Operating Characteristic (ROC) and AUC in keras? The issue is that my val_auc during the training is...
Pash asked 7/9, 2018 at 19:56

4

I have fitted a SVM model and created the ROC curve with ROCR package. How can I compute the Area Under the Curve (AUC)? set.seed(1) tune.out=tune(svm ,Negative~.-Positive, data=trainSparse, kern...
Corking asked 7/1, 2017 at 16:36

1

Solved

I am trying to use the scikit-learn module to compute AUC and plot ROC curves for the output of three different classifiers to compare their performance. I am very new to this topic, and I am strug...
Bartko asked 5/11, 2015 at 15:3

2

Solved

I was trying to plot a ROC curve by using the documentation provided by sklearn. My data is in a CSV file, and it looks like this.It has two classes 'Good'and 'Bad' screenshot of my CSV file An...
Dialect asked 15/7, 2018 at 8:45

0

I have a question related to the roc_curve from scikit-learn for a deep learning exercise, I have noticed that my data has 1 as the positive label. After my training the testing accuracy is coming ...
Sullivan asked 11/7, 2018 at 9:53

2

Solved

I have a dataframe with two columns : score1 which is numeric and truth1 which is boolean. I want to predict truth1 using score1. To do that, I want a simple linear model, and then ask for a good t...
Josephina asked 14/10, 2015 at 12:39

3

I want to draw ROC curves with pRoC. However for some reason there is extra empty space on either side of the x-axis and I cannot remove it with xlim. Some example code: library(pROC) n = c(4, 3, ...
Tremml asked 5/2, 2017 at 22:19

1

I am asking a follow-up question as suggested from my previous post - Good ROC curve but poor precision-recall curve. I am only using the default setting with Python scikit-learn. It seems like the...

2

Solved

ROC curves plot TPR vs. FPR and vary the thresholds based on the rank order of the probabilities of the training set. The threshold that is picked is the probability associated with the point in th...
Sentimentality asked 5/4, 2016 at 1:8

2

Solved

I trained an ExtraTreesClassifier (gini index) using scikit-learn and it suits my needs fairly. Not so good accuracy, but using a 10-fold cross validation, AUC is 0.95. I would like to use this cla...
Colporteur asked 26/1, 2017 at 0:19

2

Solved

I'm using the sklearn package to build a logistic regression model and then evaluate it. Specifically, I want to do so using cross validation, but can't figure out the right way to do so with the c...
Rubinrubina asked 17/5, 2017 at 23:17

2

Solved

I am using the following code to plot the ROC curve after having run the logistic regression. fit1 <- glm(formula=GB160M3~Behvscore, data=eflscr,family="binomial", na.action = na.exclude) prob...
Humiliating asked 9/12, 2016 at 9:17

0

I'm trying to obtain ROC Curve for GBTClassifier. One way is to reuse BinaryClassificationMetrics, however the path given in the documentation (https://spark.apache.org/docs/latest/mllib-evaluati...
Maxinemaxiskirt asked 16/2, 2017 at 15:7

2

I'm trying to plot the ROC curve from a modified version of the CIFAR-10 example provided by tensorflow. It's now for 2 classes instead of 10. The output of the network are called logits and take ...
Thigmotropism asked 29/4, 2016 at 13:13

2

Solved

I have the following ROC Curve: And it does not end in 1.0 because my predictions include zeros, for example prediction = [0.9, 0.1, 0.8, 0.0] For the ROC Curve, I take the top-k predictions, ...
Galatia asked 31/8, 2012 at 14:54

1

I'm using the ScikitLearn flavour of the DecisionTree.jl package to create a random forest model for a binary classification problem of one of the RDatasets data sets (see bottom of the DecisionTre...
Tooley asked 12/10, 2016 at 3:40

2

I split Train data set and Test data set. I used a package rpart for CART (classification tree) in R (only train set). And I want to carry out a ROC analysis using the ROCR package. Variable is `...
Sonia asked 13/6, 2015 at 11:34

6

Can someone explain me please how to plot a ROC curve with ROCR. I know that I should first run: prediction(predictions, labels, label.ordering = NULL) and then: performance(prediction.obj, ...
Andreas asked 13/7, 2012 at 9:36

1

Solved

I've built a binary classifier using Tensorflow and now I would like to evaluate the classifier using AUC and accuracy. As far as accuracy is concerned, I can easily do like this: X = tf.placeho...
Candidate asked 11/9, 2016 at 10:56

© 2022 - 2024 — McMap. All rights reserved.