Questions tagged [multiclass-classification]

Filter by
Sorted by
Tagged with
10
votes
1answer
15k views

What is the best method for classification of time series data? Should I use LSTM or a different method?

I am trying to classify raw accelerometer data x,y,z to its corresponding label. What is the best architecture for best results? Or, does anyone have any suggestions on LSTM architectures built on ...
5
votes
2answers
57 views

Data transformations in hierarchical classification

I am building a hierarchical text classifier using the Local Classifier Per Parent Node (LCPN) approach with the 'siblings' policy as described in the A survey of hierarchical classification across ...
0
votes
0answers
29 views

Formulate Confusion Matrix from Precision Score

I have the precision scores from 5 classes. Is it possible to create the confusion matrix from that scores. While running the code, I only saved those precision values by mistake. So now I want to ...
-1
votes
0answers
18 views

how to calculate class_weight for Multi-class classification problem [closed]

I have a multi-class dataset with below class ratios Class A: 61% Class B: 34% Class C: 3% I am using a catboost model which takes class_weight as the parameter. ...
24
votes
4answers
22k views

Unbalanced multiclass data with XGBoost

I have 3 classes with this distribution: Class 0: 0.1169 Class 1: 0.7668 Class 2: 0.1163 And I am using xgboost for ...
0
votes
1answer
19 views

How to create a classification model for multi output dataset?

I have a dataset where there are two target variables target-1 and target-2. Both target variables are ordinal and thus I want ...
1
vote
1answer
34 views

Comparing multi-class vs. binary classifiers in predicting a single class

I've pretty much read the majority of similar questions, but I haven't yet found the answer to my question. Let's say we have n samples of four different labels/...
0
votes
1answer
11 views

How Hyper-linked library vs traditional library differs from each other as ML problem?

Traditional library can be understood as a system, that archives the collective information from the mediums produced by our society, by indexing them to shelves. It is assumed that libraries have ...
0
votes
0answers
20 views

Plotting scikit-learn confusion matrix returns no values in the last class

I am attempting to create a confusion matrix using Scikit-Learn for a multiclass classification CNN, and it works well except for the fact that it does not provide ...
2
votes
1answer
20 views

Statistical test using Gmean to compare multiple algorithms on multiple datasets

I am new in this area. I am facing some issues while comparing the algorithms using statistical test. I have following result of Gmean of some classification algorithm. Abalone, Balance-scale, Car, ...
0
votes
2answers
145 views

Keras input for multivariate classification with LSTM using current features and previous timesteps features and y values

I am working on a multivariate binary classification problem. What I want to do is to predict a binary classification given the features at the current timestep and the data (features+real ...
5
votes
4answers
98 views

AlexNet CNN how can it be applied to my case?

I'm working on my last year project where I'm given digitized WSI (Whole Slide Images), though they're fairly small around 1390x1040 size (which is unusual). These images are of cases of Glioblastoma ...
3
votes
3answers
16k views

Multi-class neural net always predicting 1 class after optimization

During training, the neural net settles into a place where it always predicts 1 of the 5 classes. My train and test sets are distributed as such: ...
1
vote
1answer
45 views

Increase Accuracy on Keras Multiclass Classifier [closed]

I have a dataset with the shape (430, 17). My output is a single column consisting of possible options "Best", "Medium", "Worst". I split my data into ...
1
vote
2answers
75 views

Logistic regression does cannot converge without poor model performance

I have a multi-class classification logistic regression model. Using a very basic sklearn pipeline I am taking in cleansed text descriptions of an object and classifying said object into a category. <...
0
votes
0answers
7 views

Multi class product classification according to description of product

I have some products, along with their description. I wish to assign USPSC code to each product. This would require classification on 4 levels. All the examples I could find online were that of ...
2
votes
2answers
117 views

How to model user choice probability: binary model vs multi class model

Let's say Morpheus has multiple users to offer colored pills(from an infinite set of colored pills), there are in total 3 unique colored pills(red, blue, green) Morpheus can offer. The trick is, ...
0
votes
1answer
19 views

Mapping output neurons to classes

I have read few articles some say there is no need to have no. of units in output layer = no. of classes why some say they both should be equal. My questions are If no. of neurons = no. of classes. ...
1
vote
1answer
63 views

best approach for CNN training with multiple subcategories and one category

I need to classify pictures into 2 categories: approved and rejected. Rejected category has different type of images which are not allowed (subcategories), for example nude or gore or anime etc. What ...
0
votes
1answer
47 views

Multiclassification problem [closed]

I was wondering what happens when an image not in the training set is provided to the model in a multiclassification problem? Does it just classify something which is close to this image?
2
votes
0answers
25 views

Keras deep learning speaker identification model excels during training and then fails predictions

I am attempting to create a 1:N speaker identification model with Keras using a TensorFlow backend. I used the LibriSpeech corpus for training data, and preprocessed the data by first converting each ...
2
votes
1answer
213 views

Confusion between precision and recall

I have a machine learning model that try to fingerprint the functions in a binary file with a corpus. Final output of upon inputing a binary file is a table with one to one mapping between the binary ...
1
vote
0answers
23 views

Is the micro averaged precision/recall/f1 score for multiclass classification always the same?

I was under the impression from this post that in the micro averaging case for multi-class classification, the precision and recall are the same. This is because the number of false negatives and ...
1
vote
1answer
50 views

How to estimate the accuracy on a large dataset?

Given that I have a deep learning model(handover from former colleague). For some reason, the train/dev set was missing. In my situation, I want to classify my dataset into 100 categories. The ...
0
votes
1answer
20 views

Multiclassification with large number of labels

I am attempting to build a classifier with a large input space of one hot encoded vectors. The output should be a vector of labels, with 10000 possible labels each. For example, the labels could ...
0
votes
0answers
12 views

proper activation function at output and loss function to optimize for OCR?

I am trying to make a CNN model on IAM handwritten words data(which has images of words handwritten by multiple people and targets are text in the images). So, I can encode words to numbers(A=0, B=1 ...
1
vote
1answer
2k views

Sklearn classification report is not printing the micro avg score for multi class classification model

There are 6 class labels encoded as 0,1,2,3,4,5 While executing classification report score it outputs accuracy,macro avg,weighted avg .The micro average score is missing in the output . Im not ...
1
vote
1answer
40 views

How to train a machine learning algorithm with multiple labels

I have the following challenge and I very much hope that there is a solution to it. I also suspect that there is a simple approach to it. I just don't see it at the moment. Any help or advice is ...
2
votes
1answer
32 views

Multiclass classification task where each class is present only once in the test set

I have a multiclass classification problem where, in the test set, there is only one entry for each possible class. In my particular problem we want to guess the author of a text, and we have 20 ...
0
votes
1answer
35 views

Understanding output probabilites of xgboost in multiclass problems

I would like to understand the output probabilities of a xgboost classifier (or any other decision tree ensemble based classifier) in the case of a multiclass problem. For example: We have 5 different ...
1
vote
2answers
34 views

Why my training and testing set are about 99% but my single prediction does wrong prediction?

I have performed fruits classification using CNN but i am paused at a point where all things are going right confusion matrix accuracy score all are correct it seems there is no overfitting but it ...
1
vote
1answer
38 views

How to handle overfitting in the following classification case

The confusion matrix is as below :- [[ 0 0 5 1 0 0] [ 0 0 19 14 0 0] [ 0 0 217 151 0 0] [ 0 0 84 282 0 0] [ 0 0 6 111 0 0] [ 0 0 0 10 0 0]] ...
1
vote
2answers
35 views

Text Classification : Classifying N classes vs rest of the classes

Apologies if this is naive, I am fairly new to the domain. I have a requirement where I am trying to classify 2 types of text data, i.e, I have got 2 classes to classify my data upon. I am able to get ...
1
vote
2answers
24 views

Appropriate loss function for multi-hot output vectors

I have some data in which model inputs and outputs (which are the same size) belong to multiple classes concurrently. A single input or output is a vector of zeros somewhere between one and four ...
1
vote
1answer
28 views

multiclass classification

I want to build an ml model, which can when given a text input, can predict predefined tags or labels for the text. I already built one such model, but the problem with that is that it only predicts ...
5
votes
4answers
5k views

How to apply class weight to a multi-output model?

I have a model with 2 categorical outputs. The first output layer can predict 2 classes: [0, 1] and the second output layer can predict 3 classes: [0, 1, 2]. How can I apply different class weight ...
0
votes
1answer
67 views

Data quality improvement as a part of preprocessing: Imputation

I have a python pandas dataframe representing a superset. The data contains a lot of nulls which I want to overwrite with real values. the superset has: both numerical and categorical data some ...
3
votes
1answer
41 views

User actions sequence classification

I have a training set where each row is a series of user actions on a website (logged in, sent an invoice, etc.) and times deltas in ms between these actions. Each row has a label — a corresponding ...
0
votes
1answer
111 views

Feature Engineering in Multi-class Classification

I am working on a 3 class classification problem. I am curious on what is the best way to bin continuous variables for this problem. When I worked previously on 2 class problems, for examples sale ...
0
votes
1answer
31 views

multiclassification dataset with many features giving very bad accurace predictions

I have been trying to fix this for 2 months now with no luck. I am doing some medical research for my study. I have a dataset that has patients diagnosis based on medical reports (Features.csv) and ...
2
votes
1answer
51 views

Co-joining multi-peak histograms

I am analysing a bunch of data files which represent responsiveness of cells to addition of a drug. If a drug is not added, cell responds normally, if it is added, it shows abnormal patterns: , . We ...
0
votes
1answer
36 views

How to cope with new/unseen targets classes in incremental learning algorithms

According to scikit-learn documentation1, the sklearn incremental learner itself may be unable to cope with new/unseen targets classes. Is there any available python machine learning library which ...
4
votes
2answers
382 views

AUC-ROC for Multi-Label Classification

Hey guys I'm currently reading about AUC-ROC and I have understood the binary case and I think that I understand the multi-classification case. Now I'm a bit confused on how to generalize it to the ...
0
votes
1answer
41 views

How could a neural network classifer for multilclass problem classify only in one class when a decision tree is more balanced and accurate?

I want to create a classifier for a data frame that has four classes. Each line can only have one class. I have two predictive models: a neural network and a tree classifier. But they put everyone in ...
1
vote
2answers
70 views

In handwritten digit recognition problem using logistic regression, what changes needed to add another class “Not a Digit”

In handwritten digit recognition problem using logistic regression, normal implementation would forcibly classify even a picture of dog or cat as a digit. To eliminate this, what changes are needed to ...
0
votes
1answer
28 views

Time Series Data Multi-Class Classification

This is a very general question, as I'm still very much in the learning phase with machine learning. I have some utility data around problematic meters. Even tho the data is "time series", I believe ...
3
votes
1answer
55 views

What is the definition of imbalanced data set

I have thousands of data sources generating data from similar type of hardware. The different sources create different dynamics in the datasets though! Even though the features are the same the data ...
1
vote
2answers
216 views

How can I improve the recall of a certain class in a multiclass-classification result

I am working on a multiclass classification which is to assign medical related queries of web search to certain departments of hospital.My classifier is based on the fastText. I found for most ...
1
vote
2answers
39 views

How to compute AUC in gridsearchSV (multiclass problem)

I'm working on a multiclass classification problem, comparing results from SVM and Random Forest classificators. I would like to use gridsearchCV for hyperparameters tuning and find that AUC is the ...
0
votes
2answers
1k views

solving multi-class imbalance classification using smote and OSS

I am trying to solve multi-class imbalance classification problem for that i am using SMOTE for oversampling and OSS for under-sampling. But I have a doubt as I am working on multi-class so i have to ...

1
2 3 4 5
7