Skip to main content

# Questions tagged [binary-classification]

The tag has no usage guidance.

146 questions
Filter by
Sorted by
Tagged with
2 votes
1 answer
65 views

### How to make logistic regression give some observations more importance/weight?

I have a binary classification problem, with a dataset comprising of several features. When I train LogisticRegression on it, I get large number of false positives ...
0 votes
1 answer
7 views

0 votes
0 answers
29 views

### While working on binary image classification, the class mode set to binary incorrectly labels the images, but does it correct on categorical

I am currently working on a binary image classification. My problem is that when i use data augmentation, it incorrectly labels the images when it is set to binary. The things i have tried: Looked ...
0 votes
2 answers
149 views

### How to deal with temporal trend in ML

I am fitting a binary classifier and I observe a temporal trend in the response variable, meaning that the actual percentage of positives fluctuates with time, I can see periods where it is high and ...
0 votes
0 answers
30 views

### Can someone interpret my Binary Cross Entropy Loss Curve?

I am trying to understand my loss curve using : tf.keras.losses.BinaryCrossentropy() Question 1: Based on my loss curve/accuracy, would it be wise to proceed to feed it into a ensemble learning model ...
0 votes
1 answer
71 views

### Input Tensor Shape for CNN Binary Classification of Time Series Data

I want to predict whether a machine will fail based on the most recent set of measurements taken by on-board sensors. I have several dozen machines, each with a sensor that takes a measurement at ...
0 votes
0 answers
24 views

### Binary classification penalizing only one class

Let's suppose that the task is the following binary classification: Does this image have a cat or a dog? These are the four possible predictions: It predicts cat and the image has cat. It predicts ...
0 votes
1 answer
272 views

### What is the best practice to normalize/standardize imbalanced data for outlier detection or binary classification task?

I'm researching Anomaly/outlier/fraud detection, and I'm looking for the best practice to pre-process the synthetic data for imbalanced data. I have checked all methodology for normalizing/...
1 vote
1 answer
582 views

### precision and recall is zero

Why my model shows metrics like this? While my model was training recall and precision was equal to zero? I trying to do binary classification of mushrooms [edible, poisonous]. I have CNN model with ...
0 votes
1 answer
131 views

### Different accuracy scores with sklearn roc_auc_score on same model using sklearn.metrics

Why do these below lines give different outputs while the input is the same? I need to report these results in paper, but I am unsure which is better and why. ...
0 votes
1 answer
88 views

### Single model or multiple models for predicting at each level in a multi-level classification problem

Given a flat structured data with features that can be considered hierarchical, where each feature is at a different level (e.g., Brand at the top level, Product, Color, and Size at different levels), ...
0 votes
0 answers
27 views

### Gradient boosting algorithm implemented in LightGBM

I'm currently reading the documentation of LightGBM and I'm wondering which gradient boosting algorithm is exactly implemented there if choose boosting parameter as "gbdt" or "dart?&...
1 vote
1 answer
56 views

### How to balance labeled datas and then carry out execution with a certain ratio?

I'm building a binary classification model using a neural network, with python and the libraries tensorflow and keras. For that I have an unequal amount of labeled data: Around 2'000'000 labeled with <...
4 votes
1 answer
326 views

### Does a random classifier have a diagonal ROC (received operator characteristic) curve even when the data is biased toward negatives?

About 9% of the US population have a diabetes diagnosis. So a binary random classifier that just guesses 50% positive and 50% negative would likely be incorrect when it guesses positive (leading to ...
0 votes
0 answers
27 views

### Pycaret cross validation scores are way lower than unseen test set scores

How come the cross-validation model scores are much lower than the model scores on an unseen dataset? ...
3 votes
2 answers
365 views

### ROC curve for a perfect model, why is AUC 1.0?

According to this article, The ROC curve for a perfect model would go straight up the TPR axis on the left and then across the FPR axis at the top. Since the plot area for the curve measures 1x1, the ...
0 votes
0 answers
123 views

### Empty Confusion Matrix and Zero Precision/F-score

Could you please say why I'm getting this warning while doing a binary classification using Artificial Neural Networks? The data are colored images. ...
1 vote
1 answer
79 views

### Correct way to take a subset of a dataset?

I am attempting a binary classification problem (using Weka). My dataset has 100,000 rows, 14 attributes (1 output variable). It takes already too long just to open the dataset in excel so I just know ...
0 votes
0 answers
30 views

### Model can not fit to 8 datapoints

I have 10 groups of biological experiments, all of size 100. I want to estimate experimental performance (success rate) of each groups of experiments, but have only ran experiments in two groups. My ...
1 vote
1 answer
78 views

### How do I best approach a multiple-target binary classification in Tensorflow/Keras?

I currently have eight features which are either categorical or continuous variables. My targets are many (~1000) binary variables. So far I have attempted skmultilearn and sklearn.multioutput. I ...
0 votes
0 answers
16 views

### Why is my Histogram Gradient Boosting Classifier model still producing type II error? How can I reduce the type II error?

Type 2 error and how to hypertune or feature engineer a solution for it I trial and tested different techniques and kept the structure which made the most sense to me. But still my model confusion ...
0 votes
2 answers
47 views

### Binary classification using RNN not going beyond 50% accuracy

I am trying to find out the reason behind why my RNN network won't go beyond 50% for binary classification. My input data is of the shape: ...
0 votes
0 answers
45 views

### Competition test set performance much lower than validation set

We are a team of 3 participating in a university competition for a deep learning course. The competition involves a binary image classification task where we have to predict leaf diseases on a (5200, ...
0 votes
0 answers
30 views

### Logistic regression with E-net regularization produces different set of weights with each run

I am currently trying to make a model to classify brain tumor patients by incidence of epilepsy using a combination of variables extracted from clinical records, and radiomics features from segmented ...
0 votes
1 answer
318 views

### Training ResNet50 model for binary classification

I want to use ResNet50 model to perform binary classification on a dataset spectrogram dataset. In order to do that I had to make a couple of modifications to the model's architecture: Modified the ...
0 votes
0 answers
26 views

### Binary classification using xgboost

Why when adding new features in my ADS for a binary classification using XGBOOST my score and uplift has decreased ? What is the best way to treate categorical features or other features in order that ...
0 votes
3 answers
103 views

### Reduce false positives having imbalanced data

I'm using a DNN-48 having the following scenario: Features: 8 (48 at the end because I generate conditional sequences of 6 elements each) Classes: Y=0 (90%), Y=1 (10%) Precision and recall are good ...