Questions tagged [multiclass-classification]

Multi-class classification is when you have a classification problem with multiple classes, specifically 3 or more classes. Many classifications are binary by design, therefore the additional nomenclature of multi-class classification was defined to describe algorithms capable of classifying datasets with more than 2 classes.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Multi-class classification but a single feature sometimes boils it down to a binary-classification

I have a three-class classification problem for a large dataset. Classes are 0, 1 and 2. There's a categorical variable in my feature vectors such that when a sample point has this variable positive, ...
1
vote
0answers
11 views

XGBoost in Python: How do I input the scale_pos_weight for multi-classes?

I have 3 classes and my weights are Class 1: 1 Class 2: 0.333 Class 3: 0.167 How do I input them into the scale_pos_weight parameter? I know for a binary classification, we input it like below: ...
0
votes
1answer
23 views

Compare model accuracy when training with imbalanced and balanced data

So I was recently doing a data science project which is a multi class classification. The project can be found https://www.kaggle.com/c/otto-group-product-classification-challenge. The dataset is an ...
1
vote
0answers
31 views

How to handle unclassifiable data in the dataset

Premise: Classification problem Input is three text fields Output classes are A, B, A&B (Note: A and B are not always exclusive though usually are, hence the 'A&B' class) Sci-Kit Learn is the ...
2
votes
1answer
29 views

Predictive Recency-Frequency-Monetary (RFM) through Classification of Customer Charateristics

I have an RFM model that I use to segment customers based on RFM score. What I would like to do is: Understand more about the ...
0
votes
0answers
30 views

Improve model accuracy in multi-classification problem

I use a MLP to classify three different classes A, B, C. The loss function I use is categorical cross entropy and the optimiser ...
1
vote
0answers
17 views

oversampling multivariate time series data

For some classification needs. I have multivariate time series data composed from 4 stelite images in form of (145521 pixels, 4 dates, 2 bands) I made a classification with tempCNN to classify the ...
0
votes
1answer
22 views

Is sensitivity the same as recall in multiclass classification?

In Wikipedia, it is stated "In binary classification, recall is called sensitivity" under the Recall section. Are they both different in case of multi-class classification?
0
votes
1answer
37 views

Two-level (large category and small category) label classification problem

At present, there is an app classification task, the input is the function description of the app, and the two labels are the major category to which the app belongs and the small categories under the ...
0
votes
0answers
17 views

Is it always appropriate to use SMOTE in an imbalanced multiclass dataset?

Is it good practice to always use SMOTE and random undersampling in an imbalanced multiclass dataset or are there exceptions? In context, I am using a traditional machine learning model (SVC) for ...
0
votes
0answers
7 views

For a Multi-class Classification Problem, What are the Pros and Cons of using a Cascade ML model versus Single Multi-class Classification model?

I am developing an ML model for classification using tabular data. It has 5 classes right now and new classes are expected to be continuously added. (Already have a new one leading to an imbalanced ...
0
votes
0answers
11 views

How to top n values from .predict_proba in multioutputclassifier?

I am following MultiOutputClassifier technique to predict roles (the data are transformed to numeric so that's not a concern) I want to use .predict_proba() and ...
2
votes
1answer
30 views

Keras: Custom output layer for multiple multi-class classifications

Hello, I’m quite new to machine learning and I want to build my first custom layer in Keras, using Python. I want to use a dataset of 103 dimensions to do classification task. The last fully connected ...
0
votes
0answers
11 views

Classify short sentences using BERT pre trained model with a custom dataset

I have a dataset that has 2 columns, an input and the class it is associated with. I have 6 classes and I am not able to find a way to train the BERT model on my dataset. I tried huggingface but I ...
1
vote
1answer
36 views

Loss in multi-class classification

I have a multi-class classification task. One of the standard approach in choosing loss function is to use a CrossEntropyLoss. It is a good option when classes are standonlone and not similar to each ...
1
vote
0answers
15 views

Precision and Accuracy of a custom Object Detection Models usind networks from TensorFlow Model Zoo

I am trying to develop a model with three classes. To do so, I tried to develop a model with different combinations of the data samples in each class. For example: the $1^{st}$ model has 500 images ...
0
votes
0answers
16 views

Improve accuracy on LSTM - Multiclass Classification problem

Problem Description I need to build a model which solves the following problem. I have a sequence (let's say size=n) of integers (arrivals) , which looks like this 0,0,1,5,2,...,4,8,6 , and I want to ...
0
votes
1answer
16 views

Get the percentage of each class in classification

Let me explain my question with an example. Imagine our machine learning model is trained using many different classes such as rectangle, circle, and triangular, etc. Now I want to give it a new shape,...
0
votes
0answers
16 views

Mutiple binary classification for for best propensity to buy one of the product

Problem:- I have 5 products for sell and I can pitch only one product in a month to one customer.so I wants to know which product customer can buy. Proposed solution:- I build 5 binary logistic models ...
1
vote
0answers
17 views

Personal Project Classifying Bank Account Data - NLP Noob [closed]

Background: I'm looking to get up to speed with some of the newer ML classification techniques and keep my ML python fresh in my spare time/learn some new skills, so as a challenge I'm trying to see ...
0
votes
1answer
55 views

Learning curves

I am working on a multiclass classification problem. I want to know whether my model is overfitting or underfitting. I am learning how to plot learning curves and have 4 doubts. 1.) Is the ordering of ...
1
vote
1answer
45 views

Perfect scores for multiclass classification

I am working on a multiclass classification problem with 3 (1, 2, 3) classes being perfectly distributed. (70 instances of each class resulting in (210, 8) dataframe). Now my data has all the 3 ...
0
votes
0answers
22 views

How do i perform multinomial regression ? I have to classify students based on the program they are enrolled in. Please give me some ideas or hints

Things I have tried. Used dummy variable df=pd.get_dummies(data = df, columns=['Gender', 'ses', 'schtyp', 'prog'],drop_first= True) Then used test and train But ...
0
votes
0answers
30 views

Multiclass classification and imbalanced data

My data has 20k instances of class A and 5 instances of class B. If I am using Cost Sensitive models (Cost-sensitive Logistic Regression, Cost-sensitive Decision Trees etc) for imbalanced datasets, do ...
0
votes
0answers
11 views

Which multiclass classification to use for this problem with 9k+ classes?

Need help with which machine learning algorithm/model to use for this problem. The dataset is of product categorization for Amazon. Feature Columns are PRODUCT NAME, PRODUCT DESCRIPTION, BULLET_POINTS,...
0
votes
0answers
20 views

How can I evaluate my multiclassification model based on cumulative gain?

I want to run a model for multiclassification problem and I am only interested in the top x% results (recommendation model). I think using the ndcg@1000 evaluation metric is the best for this purpose, ...
1
vote
1answer
34 views

Handle with very short and very long sequences with Neural Network

I am working on multi-class problem with sequences. My dataset is composed of sequences of data with different length. E.g. 1500 labeled samples: 500 datapoint belongs to class A, 500 class B and 500 ...
0
votes
1answer
25 views

Multiple targets in a classification problem

I have a vector of length $n \gt 4$ which has exactly 4 targets, so for example [0, 0, 0, 1, 0, 1, 0, 1, 1]. I would like to know how I can modify the softmax ...
0
votes
0answers
10 views

"Saliency map" of perceptron?

I am using keras currently, and I want to see which inputs the model is "looking at". It would be like a saliency map, but my model is a simple two-layered perceptron for classification, so ...
0
votes
1answer
38 views

Why is the f1 score of my imbalanced data for a multiclass problem so low?

I am dealing with a multi-class problem and imbalanced data. I am trying to find an algorithm that can predict well each class with python (sklearn and pandas). My dataset contains: 620 rows, 12 ...
2
votes
1answer
37 views

Identify optimal thresholds for one-vs-one/one-vs-rest ROC-curve for multiclass classification

Say I have a multiclass classification problem with N classes. I have trained a classifier on a training set, I use a validation set and a One-vs-rest ROC-curve to ...
1
vote
1answer
35 views

Comparing Multiclass classifiers with "No Answer"-Class

I have three classifiers to classify some words into four classes. Every word that does not fit into any of these four classes gets classified as "No Answer". I would like to compare the ...
1
vote
0answers
18 views

Dependent variable with very few distinct discrete values

I've been reading about different ways to produce models for a dependent variable that has very few distinct discrete values, but haven't found the right fit. I was thinking of using an ordinal logit ...
1
vote
0answers
41 views

LSTM Many to one with multiple time steps for time series (multi class classification)

I want to do a time series multi-class classification for fault detection and diagnosis with time-series sensor data set which contains a sequence of 50 records of normal data and sequences of another ...
0
votes
0answers
6 views

Multiclass classification oob error

Im implementing a random forrest for a 6 class classification and witnessing a strange phenomenon. I have 10 percent of my set sectioned out as a pseudo validation set. Im training 50 percent of the ...
0
votes
1answer
65 views

How to know if a CNN model has overfitting or underfitting by looking at graph

I get this graphe, please can you help me? How can i know if it's overfitting or underfitting ?
0
votes
1answer
14 views

Evaluation Metrics for Multiclass

How to obtain the Accuracy, Detection_Rate, False_Positive_Rate and ...
0
votes
0answers
25 views

Recall metric per class in Keras

For evaluation of an image classifier and to monitor the model's performance during training I want to compute (among other metrics) the recall for each class. Following the Keras metrics ...
1
vote
1answer
31 views

Classification report and confusion matrix problem

I am working on sign language recognition system using HOG and KNN. I have 26 classes of 180 images per class. The dataset was split into 1/3(67%) for tanning and 2/3(33%) testing after feature ...
0
votes
0answers
9 views

How to apply Helmert Coding in a real Machine Learning model?

My dataset is something like this ...
0
votes
1answer
93 views

Calculating confidence interval for model accuracy in a multi-class classification problem

In the book Applied Predictive Modeling by Max Kuhn and Kjell Johnson, there is an exercise concerning the calculation of a confidence interval for model accuracy. It reads as follows. ...
1
vote
1answer
91 views

AUC higher than accuracy in multi-class problem

I stumbled upon a 3-class classification problem where all compared classifiers yield a higher AUC than accuracy (usually around 10% higher). This happens both when the dataset is balanced or slightly ...
0
votes
0answers
8 views

Bag Level labels from instance labels

I have a 4 class classification problem using speech data. The speech signals are of variable length ranging from 1 sec to 8 sec. I am making chunks of 3 secs by chopping the longer utterances and ...
1
vote
1answer
55 views

Convert a binary neural network classifier to one verses all classifier

I have a neural network model (implemented from scratch) which gives me some continuous outputs and I have used a sigmoid layer, in the end, to convert it into a binary classifier. But my original ...
0
votes
0answers
16 views

Weighting the loss function based on previous seen true positive rates

Similiar to class imbalance there is always something I would call "learnability imbalance" in multi-class classification. What I mean by that: Even when the classes are evenly distributed ...
1
vote
0answers
18 views

What is the appropriate statistical test to compare the MAUC scores from two machine learning classifiers?

I would like to compare the scores of two multi-class classifiers. I have calculated the MAUC score for each of the algorithms, and now I want to see whether there is a statistical difference between ...
0
votes
0answers
11 views

Sequence multi-class classification only learns a few outputs

I have a multi-event delineation problem, where given a signal, I have an output with the same signal length. Something like 0011002200, where each unique number ...
1
vote
1answer
75 views

Best ML approach for huge number of classes

I have an problem where the dataset consists of: 400k observations 40k classes (mutually exclusive) The problem is about predicting what is the supplier of an invoice (from which supplier/shop a ...
0
votes
1answer
25 views

Train and Validation Curve

I'm new in DeepLearning. I'm not good at understanding and commenting on graphics.Can you help me with these graphs
0
votes
0answers
150 views

What's the difference between multiclass categorical crossentropy, mlogloss and multi:softprob?

As far as I understand, an objective is something I'm trying to optimize and an evaluation statistic is something I use to look for overfitting. I stumbled upon 4 losses that seem to be the same, but ...

1
2 3 4 5
9