Skip to main content
Advice
0 votes
0 replies
32 views

Recently I have been practicing with AutoEncoders and trying to use them for anomaly detection. I have been told that using a threshold on the loss to classify anomalies (calibrated with roc-curve) is ...
wat's user avatar
  • 1
0 votes
1 answer
126 views

I could create a ROC curve for my Statistical analysis library(pROC) plot(roc(aSAH$outcome, aSAH$s100b, levels=c("Good", "Poor"))) However I would like plot the same using ...
Bogaso's user avatar
  • 3,928
0 votes
1 answer
78 views

I'm attempting to train a multi-class image classification model based on standardised 128x128 images. When I use "accuracy" alone as a metric, I have no issues. When I introduce AUC, I can'...
Imran Khakoo's user avatar
  • 1,019
1 vote
1 answer
105 views

this is my 3 ROC Curves ! rocs <- list() rocs[["modele1"]] <- roc(data3$USI3, predict(modele1)) rocs[["modele2"]] <- roc(data3$USI3, predict(modele2)) rocs[["modele3&...
Pipas's user avatar
  • 120
0 votes
0 answers
42 views

So I used GradientBoostingRegressor to predict a target from a number of variables. The target is whole numbers from 0 to 27. The GradientBoostingRegressor returns y_pred_gb = reg.predict(input_test), ...
frankg1401's user avatar
0 votes
1 answer
47 views

I have a data table with a response 'y' and some predictors, 'X1' and 'X2' among them. I can create two one-factor models with pROC: roc1 <- roc(data$y, data$X1) roc2 <- roc(data$y, data$X2) ...
Vlad's user avatar
  • 597
0 votes
0 answers
56 views

I am comparing two unsupervised models that predict a binary class, each with a different threshold parameter (p for model A and g for model B, ranging from 0 to 1). You can see that Model B has no ...
Leonard Traeger's user avatar
0 votes
2 answers
187 views

I have created an AI Tool which extracts content from an image and then reviews that content for completeness and accuracy. I am trying to evaluate the performance of this tool and am gathering ...
carousallie's user avatar
0 votes
0 answers
54 views

I have a dataset where my target variable is a number between 1 and 8. Now I am going to implement Cubic SVM. import numpy as np import pandas as pd from sklearn.model_selection import ...
Farshadih7's user avatar
-1 votes
1 answer
1k views

I am building a Logistic Regression using statsmodels (statsmodels.api) and would like to understand how to get predictions for the test dataset. This is what I have so far: x_train_data, x_test_data, ...
user3003605's user avatar
0 votes
1 answer
59 views

I tried two ways to calculate AUC score after training a Random Forest classifier. The first one is obtaining the metric from the cross_validate function: numeric_transformer = make_pipeline( ...
Yuno Gasai's user avatar
0 votes
1 answer
198 views

I'm currently having trouble switching the following code to fit a multiclass variable (3 levels). # data import from ucimlrepo import fetch_ucirepo import numpy as np import pandas as pd import ...
Daniel Shiverman's user avatar
2 votes
1 answer
111 views

Is there a simple way to do this? I am trying to make an ROC curve in R that displays marked point corresponding to criterion/cut-off values. This is the code I have in RStudio (below): library(pROC) ...
Nat's user avatar
  • 23
5 votes
1 answer
157 views

I just tried to calculate optimal cutoff from a ROC curve. However, when I tried several functions from different packages, they returned different results. Which one is corrent one if I want to use ...
W. Fan's user avatar
  • 55
0 votes
1 answer
611 views

I ran three machine learning algorithms (logistic regression, xg-boost, random forest) on my data named 'muvr_model_1' using tidymodels package in R using following codes; library(dplyr) library(...
Tabbi's user avatar
  • 69

15 30 50 per page
1
2 3 4 5
71