Questions tagged [multiclass-classification]

Filter by
Sorted by
Tagged with
0
votes
2answers
36 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
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 ...
2
votes
1answer
60 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 ...
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 ...
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
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
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,...
3
votes
1answer
373 views

Should I rescale losses before combining them for multitask learning?

I have a multitask network taking one input and trying to achieve two tasks (with several shared layers, and then separate layers). One task is multiclass classification using the CrossEntropy loss, ...
1
vote
1answer
45 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
79 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
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
2answers
549 views

Stacking doesn't improve accuracy

I am trying to build a 2 level stacking model in order to tackle a multiclass classification problems with 8 classes. My base (level 1) models andd their micro f1 scores in the test set are: Random ...
1
vote
2answers
239 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 ...
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
vote
0answers
34 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
48 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 ...
4
votes
1answer
681 views

AUC computation on multilabel classification

I'm using Tensorflow for an auto-tagging task on audio clips. The problem is actually a multilabel classification problem meaning that each clip can have multiple tags at the same time. Regarding ...
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
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 ...
2
votes
3answers
251 views

How to apply supervised machine learning when the target label depends on multiple input rows?

The problem is a multi-label classification problem. Now, I know how to train and classify using single row with several attributes. For example, if the dataset looks like the first table from the ...
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 ...
4
votes
1answer
167 views

Why does CV yield lower score?

My training accuracy was better than my test accuracy, hence I thought my model was over-fitted and tried Cross-validation. The model further degraded. Is that my input data need to be sanitised ...
2
votes
1answer
151 views

Which model to use for multiclass audio classification?

I am working on a project wherein I want to classify Tabla taalas(patterns) and I didn't find any dataset regarding it. I am recording them myself and I've ~500 data samples recorded. What model shall ...
1
vote
1answer
130 views

XGBoost multiclassification interpreting predicted probabilities

Let's consider an example. I have patient level data, their symptoms, reading from various medical tests. Based on that, I have built a binary classifier given patient data to classify if they are ...
1
vote
1answer
2k views

focal loss function help

I am working on a relation extraction and classification problem. The data is in the form of text files. The data is imbalanced. I want to use focal loss function to address class imbalance problem in ...
0
votes
2answers
68 views

Tuning a classifier for high precision, with no regard for recall

I understand this falls under the decision making aspect, rather than the probabilistic, but for the purposes of some work I am doing, I need the classifier to have very high precision, as I can't ...
0
votes
1answer
79 views

Which feature to use in feature selection?

Objective: Multiclass classification with supervised learning, small dataset (25h) Context: My dataset is composed of mobile network data collected with a smartphone. The labels correspond to the ...
0
votes
2answers
249 views

How to tackle a multilabel classification problem

I am trying to build a LSTM model for a multiclass classification problem on textual data. Until now, I have only built a model when one input belongs to one of the categories. What do I do when one ...
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 ...
3
votes
2answers
66 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 ...
0
votes
1answer
94 views

Multi-class classification with discrete output: Which loss function and activation to choose?

I'm working with a multi-class classification problem, using Keras Sequential models. In my dataset, the output class has one of the following values: ...
1
vote
1answer
390 views

What's the best classification model for this recommendation engine?

I'm not a data scientist but I'm trying to implement a recommendation engine on my company. My application runs on PHP but I'll use Python to process this data. My company is an online school, with ...
1
vote
1answer
844 views

How to calculate accuracy, precision and recall, and F1 score for a keras sequential model?

I want to calculate accuracy, precision and recall, and F1 score for multi-class classification problem. I am using these lines of code mentioned below. ...
8
votes
5answers
2k views

Products classification by name

I am a beginner with machine learning, and I'm trying to build a model to classify products by category according to the words present in the product name. My goal is to predict the category of some ...
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
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 ...
25
votes
4answers
23k 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
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
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
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 ...
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
158 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
100 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
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 ...

1
2 3 4 5
7