Questions tagged [multiclass-classification]

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

Which model for Multiclass classification for 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
1answer
34 views

Why would the “improvement” be the result of random initialization, and so why should we use multiple runs?

I got this feedback for my thesis paper. The improvement shown in the results section could be the result of random initialization. There should be multiple runs with means and standard deviations. ...
1
vote
0answers
24 views

How to deal with images that do not contain any object of interest?

I'm currently working on an iOS App where I want to detect if there is a table, chair or bench in the current camera input. My idea was to take the MobileNetV2 model and get it to classify these three ...
1
vote
2answers
41 views

What is the difference (if any) between semantic segmentation and multi-class, mutually exclusive classification?

Multi-class classification is simply assigning all data points into one of up to any finite number of mutually exclusive labels. I am new to the field(s) of AI/ML and I keep hearing people use the ...
0
votes
1answer
34 views

How to perform multi-class text classification with a dataset of 80 documents?

I have a training dataset of 80 text documents with an average number of characters in each document of 25000 and 210 unique tags. How can I perform multi-class text classification with such a small ...
2
votes
1answer
98 views

Why do we use the softmax instead of no activation function?

Why do we use the softmax activation function on the last layer? Suppose $i$ is the index that has the highest value (in the case when we don't use softmax at all). If we use softmax and take $i$th ...
0
votes
0answers
10 views

Is it possible to get this loss with spikes, when training an LSTM with the cross-entropy on a multi-class classification problem of a time series?

The main question here will be "should I look for a bug?" My setup is a time series multiclass classification task, labeled per frame. I am using an LSTM, feeding inputs and using ...
1
vote
1answer
513 views

How do I calculate the probabilities of the BERT model prediction logits?

I might be getting this completely wrong, but please let me first try to explain what I need, and then what's wrong. I have a classification task. The training data has 50 different labels. The ...
1
vote
0answers
14 views

Using one-class classification first to find anomalies then apply multi-class classification

I'm new to machine learning and trying to apply it for fault detection, an idea came to mind which is using only anomaly detection after which if the results after a while come up as positive, a multi-...
1
vote
1answer
36 views

Multi class text classification when having only one sample for classes

I have a dataset of texts, each text was identified with an ID number. I would like to do a prediction by finding the best match ID number for upcoming new texts. To use multi text classification, I ...
4
votes
0answers
172 views

When computing the ROC-AUC score for multi-class classification problems, when should we use One-vs-Rest and One-vs-One?

The sklearn's documentation of the method roc_auc_score states that the parameter multi_class can take the value ...
1
vote
1answer
288 views

Is Mask R-CNN suited to solve a multi-class classification problem where the classes are related?

I want to create a model to solve a multi-class classification problem. Here are more details about my problem. Every picture contains only one object The background is very simple All objects ...
1
vote
1answer
113 views

Is it possible to combine k-fold cross-validation and oversampling for a multi-class text classification task with imbalanced data?

I am dealing with an intent classification task on an Italian customer service data set. I've more or less 1.5k sentences and 29 classes (imbalanced). According to the literature, a good choice is to ...
0
votes
1answer
62 views

How can I prevent the CNN from classifying a new input into one of the existing labels (it was trained with) when the input has a new different label? [duplicate]

I'm trying to perform image classification with a CNN. In my case, the inputs are the covers of 9 books, so there are 9 labels. I am using TensorFlow's Keras. If I pass a new input (that has a label ...
4
votes
2answers
2k views

What is the general procedure to use and train neural networks for multi-class classification?

I am very new to machine learning. I am following the course offered by Andrew Ng. I am very confused about how we train our neural network for multi-class classification. Let's say we have $K$ ...
12
votes
2answers
8k views

How to implement an “unknown” class in multi-class classification with neural networks?

For example, I need to detect classes for MNIST data. But I want to have not 10 classes for digits, but also I want to have 11th class "not a digit", so that any letter, any other type of ...