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
8 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
16 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
25 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
19 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
8 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
29 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
23 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
29 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
17 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
36 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
4 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
43 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
11 views

Evaluation Metrics for Multiclass

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

Per-class recall metric in Keras delivers strange results

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
29 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
22 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
52 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
45 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
14 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
15 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
10 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
66 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
16 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
54 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 ...
0
votes
1answer
43 views

Multiclass classification problem with multiple targets to be predicted

We have a supervised multi-class classification problem where we need to predict two targets for each sample: 'brand' and 'category'. Our features are 'shop_name' which can be any proper noun and ...
0
votes
0answers
27 views

Gaussian Mixture Implementation and Optical Recognition of Handwritten Digits Data Set

Trying to implement Gaussian Mixture model implementation in python using the Optical Recognition of Handwritten Digits Data Set which consists of 10 training folds each of size $\left[100x64\right]$, ...
0
votes
0answers
10 views

How to select the significant cross-terms in logistic regression?

I have data where the number of feature vectors and the number of target classes are identical. I built a logistic regression model to learn the class of unseen data using training feature vectors ...
0
votes
1answer
86 views

How do you do 1-vs-rest classifiers in XGBoost Library (Not Sklearn)?

I am working with a very large dataset that would benefit from using training continuation with the xgb_model parameter in ...
1
vote
1answer
38 views

How to compute f1_score for multiclass multilabel classification

I have used one hot encoder [1,0,0][0,1,0][0,0,1] for my functional classification model. The predicted probabilities for test data ...
1
vote
1answer
47 views

one hot encoding target variable in tree and non tree (knn) methods

I am learning about label encoders, one hot encoding etc applied to datasets for classification via KNN and XGBoost type trees. However, I am a bit confused as to whether the target variable should be ...
0
votes
1answer
19 views

Evaluating model with categorical target variables

I converted all the numeric target variables of MNIST dataset into categorical variables. So, 0 became zero, and so on. Next, I ...
0
votes
1answer
78 views

How to improve LSTM accuracy on multiclass text classification?

So, I'm trying to build a LSTM model to classify multiclass text label. The goal is to make a prediction about user rating (1, 2, 3, 4, 5) based on their review. My hyperparameter is like this: ...
0
votes
1answer
15 views

Classification Based Collaborative Filtering Model

I was going through algorithms for collaborative filtering-based prediction. Most of the places, I read about using matrix factorization based on ratings of the likeness of the user. But for my use ...
1
vote
1answer
23 views

How do you perform multilabel classification that is also a multiclass problem?

I have a data set in which each row of data belongs to certain classes/labels. text class1 class2 class3 text1 pos neg na text2 na neg na text3 na neu na text4 pos neg neg text5 neg neg na ...
-2
votes
1answer
31 views

Help with Classification using scikit-learn models [closed]

I'm using the Titanic data set to classify the missing Cabins. There is a lot of missing Cabin values. My objective is just to assign the letter of the Cabin without the room number. So, I'm just ...
1
vote
1answer
10 views

Is there an advantage to use decision trees in OneVsAll than using “classical multiclass trees”?

I wonder if the is cases where it's better to use OneVsAll decision trees for multiclass classification ? I think that maybe it could be better for explainability of the model, but I didn't see ...
5
votes
1answer
64 views

Suitable metric choice for imbalanced multi-class dataset (classes have equal importance)

What type of metrics I should use to evaluate my classification models, given that I have two imbalanced multi-class datasets (21 and 16 classes, respectively) where all classes have equal importance? ...
1
vote
1answer
71 views

For multi-class classification in SGDClassifier how do I tell if it is using one-vs-rest or one-vs-one by default?

According to the Geron book, for multi-class classification, SGDClassifier in scikit-learn uses one-vs-rest. But how can I tell which one is used as it doesn't ...
0
votes
0answers
27 views

Validation Accuracy not going beyond 60% for image classification with 5 species of snake

My dataset has about 17000 images belonging to 5 classes. I am using 16000+ images for training(about 3k/class) & 500 for validation(100/class). Training accuracy is very good but validation ...
1
vote
1answer
29 views

Classification algorithm that only matches trained examples

I have 10 categorical features and a multi-class target. Training data contains rows where the same 10 categorical features may map to a different target class. What classification algorithm should I ...
2
votes
0answers
33 views

What kind of approach should I apply for face validation with using deep learning? [closed]

My research task is face recognition in cars with using deep learning method. Actually, in example we set an driver randomly and then the question is: Is this person driver or not? So i created an ...
0
votes
0answers
8 views

Looking for feedback on a semi-supervised learning approach for multi-class classification

Problem: Currently only have 1200 labeled (3-classes) customers with an entire customer base of 4.7M. Just leveraging the 1200 to train the model isn’t generating sufficient results so I’m now looking ...
4
votes
1answer
64 views

Reduce multiclass classification targets to binary classification targets in scikit-learn

I would like to reduce multiclass classification targets to binary classification targets. Ideally, this mapping would happen within scikit-learn so the same transformation applies during both ...
1
vote
1answer
22 views

What is different between R2 and mean of R2 in multiclassification probelm? Which one is correct?

I have a question. I have a big dataset (unfortunately confidential). What I did? I have trained my model with Naive-Bayes. ...
2
votes
0answers
44 views

Apply error analysis on the iris dataset for a specific type of misclassification

Suppose that I have the well-known iris dataset and I want to perform error analysis on the misclassified examples, more specifically for a specific class. I don't ...
1
vote
0answers
20 views

Multiclass Classifier comparison decision regions

How can I get the very same effect of this tutorial in Scikit Documentation with more than 2 classes? Let's say we'll keep only the first dataset (the linear separable one) and substitute it with <...
0
votes
0answers
32 views

Designing a network for multiclass regression

I'd like to model a continuous conditional probability distribution for two classes on a given data set. eg the height of men and women from a set of inputs. I can train a regression model (DNN, CNN, ...
0
votes
0answers
33 views

Best Loss function to use for Multiple Categories which have an implicit order

I am wondering what options I have for loss functions when the task at hand is Multi-Class Classification, where the classes themselves have an implicit order, ranging from least popular (class 0) to ...

1
2 3 4 5
9