Questions tagged [multiclass-classification]

Filter by
Sorted by
Tagged with
1
vote
0answers
9 views

Can we use CNN to effectively learn from a table whose various rows are permuted in the testing dataset, output for each remains same?

I have a set of classes, 37 to be precise. Each class is represented by a feature vector of size [1,10]. A single input sample has the dimensions of ...
1
vote
1answer
42 views

Modifying binary classification to Multi-Class Classification (Logistic Regression) [closed]

I am using this code that I found here for logistic regression for binary classification with 2 classes. Git Repo The data that I am testing with is calling for multi-class classification (6 classes). ...
0
votes
0answers
8 views

split flattened tensor to perform class wise loss

I would like to adapt my dice loss function for multi-class averaging. y_true and y_pred are one-hot 3D images (mask of label). For example, if the flattened tensors contain the X classes sequentially,...
0
votes
1answer
13 views

AUC ROC Curve multi class Classification

Here is the part of the code for ROC AUC Curve calculation for multiple classes. ...
0
votes
2answers
35 views

How to solve this classification problem: multi-class or multi-label?

In a supervised cancer classification task which is given the data containing metrics we want to classify whether the patient has cancer or is at high risk (label 1) or low risk (0). However, there is ...
1
vote
0answers
31 views

Multi-class Classification with Sigmoid Activation at Output Layer

In multi-class classification (mutually exclusive classes) using Neural Networks (ANN), it is generally advised that we encode our target labels as one-hot, use a softmax layer as the output with the ...
0
votes
0answers
18 views

Misclassifying only 1 of 3 classes in NN with Keras against RF

I'm working on the classification of a small dataset of clinical data. It is composed of around 3500 samples, with 15 features and there are 3 diferent classes (2 of them also have 2 subclasses each ...
0
votes
0answers
14 views

How to practically deal with unbalanced data and realistic class distributions in a Naive Bayes classifier?

I’ve created a multi class multinomial Naive Bayes classifier for text classification. However my data is unbalanced which I’m sure is affecting the accuracy. For example class A has 500 datapoints ...
0
votes
0answers
45 views

Class weight adjustment in multi output model error

I'm trying to make a multi output model. I have 3 regression models (reg_1, reg_2, reg_3) and one classification model (cl_1) that classifies 5 classes (0,1,2,3,4). The classification data is not ...
0
votes
0answers
13 views

Cox proportional hazards with multiclass dependent variable

Is it possible to perform a multiclass Cox proportional hazards model? I'm interested in finding the probability of self cure on consumer loans, or just study how self-curing clients behave so as to ...
0
votes
2answers
33 views

Image multi class classifier CNN

I have a problem, im designing a multiclass classifier to classify medic images, I have to classify in which grade of desease is it, this are 6 grades , each time the joint deforms a little, so, mi ...
0
votes
0answers
13 views

Is there any feature selection method specific for regression analysis?

Is there any feature selection method that works especially well for regressions? I used backwards elimination and forward selection before a lot but I've recently read that even though it's ...
0
votes
0answers
31 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 ...
0
votes
1answer
23 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
46 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
0answers
24 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 ...
1
vote
1answer
47 views

Why Adaboost SAMME needs f to be estimable?

I am trying to understand the mathematics behind SAMME AdaBoost: At some stage, the paper adds a constraint for f to be estimable: I do not understand why this is ...
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 ...
0
votes
1answer
22 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. ...
2
votes
2answers
121 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, ...
1
vote
2answers
154 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. <...
2
votes
0answers
29 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 ...
1
vote
0answers
28 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 ...
2
votes
1answer
234 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
1answer
49 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 ...
0
votes
1answer
23 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
2answers
37 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 ...
0
votes
1answer
39 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 ...
2
votes
2answers
38 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
28 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
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 ...
0
votes
1answer
40 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 ...
0
votes
0answers
44 views

per class IOU & Jaccard Similarity in a Multiclass setting python

For a multiclass classification problem, How do you compute per class IOU ? I am using the formula which is referenced/accepted in the below link ...
0
votes
0answers
21 views

dealing with imbalanced data for multi-class problem

Based on the experiments I run for a number of times, and the reading I did on imbalanced data for a multiclassification problem such as this paper, resampling techniques like ...
0
votes
0answers
10 views

How do people deal with significantly uneven error in NNs

The following example is a common issue with multiclass classification problems: If we try to classify an object - let's say - by color (e.g. white, red, green, blue, black, transparent), a simple ...
0
votes
1answer
37 views

Multiclass classification dataset with many features producing bad accuracy of 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 ...
1
vote
0answers
15 views

Derivative of multi-output Gaussian Process

I am working on a project where I estimate transition and measurements models for a kalman filter using Gaussian Processes. In order to linearize the models I require the Jacobian of the estimated ...
0
votes
1answer
37 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 ...
0
votes
0answers
6 views

Time series multiclassification on process measured multiple times

I have been measuring the power usage of a 3D printer for a while. To create a dataset I've measured the power usage of the printer during different printing processes a few times. The data is ...
1
vote
1answer
44 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
1answer
46 views

Confusion around categorical cross entropy

I understand the binary cross entropy formula for a problem with a single label 0 or 1. If we have more than 2 labels we sum this binary cross entropy over all these classes. $$ H_{y'}(y) := - \sum_{...
0
votes
2answers
36 views

How to best summarize and visualize the outcome and performance of a multi-class problems?

I estimate a multi-class origin-destination model with 45 classes. In particular the classes are geographical regions between which people can move. Currently I summarize the overall performance using ...
1
vote
0answers
41 views

Do I have to wrap multiclass SVM in OneVsRestClassifier()?

I am using an SVM for mulitclass classification between 3 labels (1,0,-1). I thought this could simply be done by using SVC(decision_function_shape = 'ovr') in my ...
1
vote
2answers
43 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
0answers
11 views

ML.net Text Feature Augmentation and Selective Normalisation

I'm in the middle of training a model for multi-class classification, I'm relatively green here and have a few questions for the more seasoned among you. Is it possible to progmatically add a line ...
0
votes
1answer
28 views

Multi-class classification with only one feature

I am studying the efficacy of using a single feature for predicting a set of events (which is a multi-class classification problem). I was wondering if it makes any sense to use only one feature for ...
0
votes
0answers
15 views

Upsell project based on sales records

in my company we are working on a upset project in which we are trying to solve the following problem: What we propose to our customer that he/she may be interested in based on the fact that he/she ...
1
vote
1answer
68 views

How is the weight matrix set and its dimension in CNN

I am trying to calculate the output size of each layer and the number of parameters for 3 class classification using CNN. I have calculated till the final maxpooling layer and would really appreciate ...
2
votes
1answer
63 views

How to deal with broad and narrow variance within classes in classification tasks

Let's say I'm doing an animal image classification task (it doesn't have to be image classification - this is just my example), and the training and test data is balanced across classes. The classes ...

1
2 3 4 5
8