Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [multiclass-classification]

0
votes
1answer
16 views

Supervised multiclass classification : is ANN a good idea ? or use other classifiers?

I have a problem deciding what to use since i'm just beginning to creating predictive models. Let's say I have a training dataset with 5 or 6 features and a testing dataset. (With around 50k rows in ...
0
votes
0answers
20 views

Multi-class string classification

Currently working on Resume Rarser tool using doc2vec. The main assumption that I take when parsing resume is that each line of text (docx, pdf etc) contains information of one class. Although ...
0
votes
0answers
15 views

how to interpret categorical cross entropy and categorical accuracy

When evaluating a multi-class model, How to interpret / identify that your model is performing accurately or works well with the categorical cross entropy and categorical accuracy values? I am ...
1
vote
1answer
27 views

Balancing XGboost still skews towards the majority class

I have unbalanced dataset for multiclass classification and I tried to use the class weights option in XGboost and the classifier still tends to favor the majority class. I am not sure if I need to ...
1
vote
1answer
34 views

Multiclass classification in a balanced dataset with one high-priority label

I have a balanced dataset for a multiclass classification problem with one high-priority label (this ought to be classified properly at all costs). How do I go about creating a workflow for this ...
0
votes
1answer
20 views

Can this be a case of multi-class skewness?

I have been working on an email data set, and trying to predict the owner team for it. But my prediction accuracy is just 58%. I have implemented data cleansing, null value removals, duplicate removal,...
3
votes
1answer
71 views

Why do we Softmax at all?

Why take softmax at all at the final layer for multi-class classification problems? For example softmax of the vector [1, .5] Is [.621, .379] I mean if we just took the straight ratio, it'd give me [...
1
vote
1answer
23 views

Why do people use CrossEntropyLoss and not just a softmax probability as the loss?

I don't understand why one would add additional complexity to log, probabilities for the loss function of a classification Neural Network. What benefit does that have, as opposed to just using the 0-1....
0
votes
1answer
25 views

How to convert binary classifier to multiclass classifier?

I am a biggener student in Machine learning, and I want to ask if is it possible to convert a binary classifier label (y) by applying some condition on column1 to get a third situation. I.e. ...
5
votes
5answers
137 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 ...
2
votes
0answers
60 views

Hierarchical classification with multi-class predictor for every parent node

Edit: It turned out that I had an error in my function to compute the combined probabilities (a typo that changed the behavior of my function quite a bit without giving me an error message). Without ...
2
votes
1answer
27 views

For a multi-class classification problem, how to transform the target variable to a form that is usable by sklearn algorithms?

I recently tried to create a model for predicting what class a sample belongs to out of 160 possible classes. These classes of the target variable are just simple strings describing workouts like "...
2
votes
0answers
15 views

Multiclass classification problem with more prediction classes than real classes

Can I have a multiclass classification problem with more prediction classes than real classes? For example: I want to predict the channel the user is going to watch. The real classes are "user didn't ...
1
vote
0answers
19 views

Transform a multiclass dataset into a multi-label one

I have a dataset of feature/label pairs. My labels are probabilities of each feature vector to belong to the K classes. Here is an example for K = 3: ...
1
vote
0answers
46 views

Feature matrix for email classification:

This is in continuation of my earlier post. In my previous model, I used just two features which couldn't fare well and gave 71% prediction (accuracy) score. Now, I'm trying to consider another ...
3
votes
1answer
25 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 ...
0
votes
0answers
28 views

Relation between using stratify and class weights for imbalanced classes

I'm working on a multi-class classification problem where the classes are imbalanced (70:25:5). Train-Test Split ...
0
votes
0answers
17 views

Activity Classification using accelerometer data?

With general machine learning classification algorithm we can easily classify the activity a human is doing by training accelerometer data. Will it be possible to find the quality of his activity. [...
2
votes
3answers
345 views

Deep network not able to learn imbalanced data beyond the dominant class

I have data with 5 output classes. The training data has the following no of samples for these 5 classes: [706326, 32211, 2856, 3050, 901] I am using the following keras (tf.keras) code: <...
1
vote
2answers
39 views

Classification model for recommender system?

I have some data for various customers choosing one of 'n' products or no product. I have some useful features for each customer. I can build a multi-class classification problem out of this data and ...
0
votes
1answer
97 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 ...
2
votes
2answers
52 views

What model is suitable for classification of a small data set?

I have a dataset that consists of 365 records, and I want to apply a classification model on it (binary classification). As an output, in addition to the classification labels, I want to retrieve the ...
0
votes
0answers
8 views

Obtaining users intention using EEG, ECG and gaze using data science

I'm thinking about doing this project during the summer. If anyone has worked in this area, can you let me know if it is possible to complete this project in a duration of 3months and how tough is the ...
0
votes
1answer
59 views

Why is the Keras model always predicting the same class / How can I improve the accuracy of this model?

First post here. I'm working on a project about multi-class image classification and created a python script using Keras to train a model with transfer learning. To my dismay the model has always ...
0
votes
1answer
43 views

Naive bayes, all of the elements in predict_proba output matrix are less than 0.5

I've created a MultinomialNB classifier model by which I'm trying to label some test texts: ...
0
votes
0answers
30 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
1answer
29 views

C parameter error in pipeline

I'm trying to build a classifier for my dataset and I'm having an issue with using my gridsearchCV and pipeline together. Here is my code: ...
2
votes
1answer
68 views

ML - Service Desk classification

I'm trying to explore an use-case in ML but stuck at a point. May i please request your advise please. Have a service desk web application for logging tickets, which is essentially a form having ...
0
votes
0answers
34 views

How should we classify alphanumeric data using supervised machine learning algorithms such as K-neighbors classifier?

My training data set consists of numbers like Q519596, U4414E, EMI3776438, E80700104. I specifically included these 4 numbers from 4 different classes to give the best idea of what you can expect ...
0
votes
0answers
21 views

Unsupervised approach to News website pages classification in 3 classes

I'm working on a project in which we have to classify web pages, coming from a news website, into 3 main classes: Sections (or Categories), News and Others (like contact pages, "about us" etc.). We ...
1
vote
0answers
18 views

Keras - How to using Cnn trained model on video image.?

I have trained Cat and dog image using CNN with Python ( total 10K, 8K for training and 2K for testing ). I want to make prediction in a video. Video Contain both cat and dog at a single moment. How ...
0
votes
1answer
50 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
votes
0answers
18 views

Multi output decimal array for a single example m in tensorflow

So my training data looks like this: X_train.shape (395,385) Y_train.shape (395,384) In the above example: number of ...
1
vote
0answers
28 views

Multi-Class Classification With Logistic Regression On Binary Data

I am trying to implement a multi-class classifier with using logistic regression. In my dataset, attributes are words, for example first attribute is 1 if the data instance includes word "x" and it is ...
1
vote
1answer
40 views

Is the classifier confused?

Binary Classifier: Assuming I have built a binary classifier and decided on an operating point. And made the classifier live on production data. This classifier returns the probability score for each ...
1
vote
1answer
25 views

Should estimated probabilities from multi class classification sum to 1

I am using a neural network with sigmoid activation function $h(z) = 1 / {(1+e^{-z})} $ in order to classify image data into 6 categories. When running the trained neural network over new image data, ...
0
votes
0answers
203 views

Why Catboost is giving error with MultiClass

I am trying Catboost package with iris dataset with following code: ...
0
votes
1answer
152 views

Forcing a multi-label multi-class tree-based classifier to make more label predictions per document

I'm been experimenting with tree based classifiers for multi-label document classification. All the trees I've created, however, tend to predict only one or two labels per document. Whereas the ...
2
votes
2answers
218 views

Multi Class Classification on large dataset with over 600 classes

I'm trying to train a text data for multi class classification which comprises of 1 Million rows. After cleaning the data, I'm using a sparse matrix of Word2Vec features (Feature size is 300) The ...
0
votes
1answer
89 views

Multi-Class Text Classification: Doc2Vec performing very bad compared to Hashing Vector

I have a multi-class text classification problem in hand this is similar to product category mapping where we map products to its correct Category based on the text content provided. I first created ...
1
vote
1answer
538 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 ...
1
vote
1answer
174 views

Metrics to measure imbalanced multi-class problem

I have a multiclass imbalanced problem. The dependent variable is shown below. ...
0
votes
1answer
16 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 ...
2
votes
3answers
57 views

What is a suitable loss function and evaluation metric for a classification model with large number of unbalanced target classes?

I am building a multiclass classifier to predict the "Intent" of a question. There are some 100 classes in the target variable and each target class contains an unequal proportion of observations/...
1
vote
2answers
179 views

Which method should be considered to evaluate the imbalanced multi-class classification?

I am working on multiclass-imbalanced data. My dependent variable is highly skewed. ...
0
votes
1answer
113 views

Bidirectional GRU: validation loss stuck on plateau diverges from well performing training loss

tl;dr: What's the interpretation of the validation loss decreasing faster than training loss at first but then get stuck on a plateau earlier and stop decreasing? The accuracy behaviour is similar. ...
1
vote
0answers
24 views

Dealing with small number of examples in hierarchical text classification

I am working on a multi-class text classification problem with hierarchical classes structure: super class and sub class for every text example. What am i trying to do is: based on the text predict ...
0
votes
1answer
30 views

How to handle “not label Y” in a multi class machine learning problem?

I have a train data set that comprises information in the form: ...
1
vote
0answers
39 views

Tuning neural network loss function for space physics [closed]

I am trying to work on neural network classification (with python, Keras) for space physics purposes, where I want to identify specific planetary regions based on multivariate temporal data and multi ...
1
vote
1answer
31 views

how to split available data into training and testing (Information security)

I was advised to ask my question here. Recently, I made a post about finding suitable dataset for SIEM (Security Information and Event Management) systems. The goal was to work on classification and ...