imbalanced-data Questions

4

I am trying to do SMOTE in R for imbalanced datasets. I tried installing "DMwR" package for this, but it seems this package has been removed from the cran repository. I am getting the err...
Dichromic asked 14/4, 2021 at 5:1

6

Solved

I'm working on a classification problem with unbalanced classes (5% 1's). I want to predict the class, not the probability. In a binary classification problem, is scikit's classifier.predict() usin...

2

Solved

I am dealing with a classification problem with 3 classes [0,1,2], and imbalanced class distribution as shown below. I want to apply XGBClassifier (in Python) to this classification problem, but t...

7

Solved

I'm resampling my data (multiclass) by using SMOTE. sm = SMOTE(random_state=1) X_res, Y_res = sm.fit_resample(X_train, Y_train) However, I'm getting this attribute error. Can anyone help?
Barbitone asked 17/6, 2020 at 18:48

2

I have an unbalanced dataset and would like to undersample the class that is overrepresented.How do I go about it. I would like to use to weightedrandomsampler but I am also open to other suggestio...

3

Solved

I have a very imbalanced dataset. I used sklearn.train_test_split function to extract the train dataset. Now I want to oversample the train dataset, so I used to count number of type1(my data set h...

4

Solved

I have recently installed imblearn package in jupyter using !pip show imbalanced-learn But I am not able to import this package. from tensorflow.keras import backend from imblearn.over_sampli...
Feeder asked 10/2, 2020 at 7:14

0

I am using PySpark to implement a Churn classification model for a business problem and the dataset I have is imbalanced. So when I train the model, I randomly select a dataset with equal numbers o...
Fritz asked 27/9, 2020 at 10:1

2

My dataset shape is (91149, 12) I used CNN to train my classifier in text classification tasks I found Training Accuracy: 0.5923 and Testing Accuracy: 0.5780 My Class has 9 labels as below: df[...
Kimbra asked 27/12, 2019 at 14:14
1

© 2022 - 2024 — McMap. All rights reserved.