Stack Exchange Network

Stack Exchange network consists of 174 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
32 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
15 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
12 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: ...
1
vote
1answer
38 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
25 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
20 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
14 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
26 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 ...
0
votes
0answers
10 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
20 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
32 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
13 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
37 views

Why Catboost is giving error with MultiClass

I am trying Catboost package with iris dataset with following code: ...
0
votes
1answer
48 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 ...
1
vote
2answers
53 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
31 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
130 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
0answers
14 views

How to group text categorical data basis on clustering?

So if I have text dataset where I have more than 50 categories. Sample: ...
1
vote
1answer
68 views

Metrics to measure imbalanced multi-class problem

I have a multiclass imbalanced problem. The dependent variable is shown below. ...
0
votes
1answer
12 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 ...
1
vote
2answers
42 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
101 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
59 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
20 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
28 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: ...
0
votes
0answers
44 views

R package used for Sampling techinque such as over,Under, both, SMOTE to balance multi-class target variable

given below is an example of my data frame. Target Class 0 0 0 0 0 0 0 1 1 2 3 3 4 1 3 4 Now my target class ...
1
vote
0answers
30 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 ...
1
vote
0answers
31 views

Test predictive power of classes in multiclass classification

How can we confidently identify if the data has lower predictive power. I saw that the classifiers are giving poor accuracy (< 50%) on test data and approx 97% on train data. Correlation of a class ...
0
votes
0answers
14 views

Multiclass classification based on a single continous variable

I have a large list of alarms, collected from an automated manufacturing cell (categorical). Each of these alarms has an associated duration time (continuous variable), describing how many seconds it ...
1
vote
3answers
133 views

How to find the most important attribute for each class

I have a dataset with 28 attributes and 7 class values. I want to know if its possible to find out the most important attribute(s) for deciding the class value, for each class. For example an answer ...
0
votes
0answers
35 views

Which loss and activation function at output layer is suitable for Multi target classification problem?

I am modelling a Multi-target classification problem which has 220 input features and 132 output features. Each output target has an integer value in between [0,1,2,3,4] .And for this I have applied ...
0
votes
0answers
111 views

Classification of text using RNN LSTM

I havea problem statement of “Classification of text”. I am very new to machine learning and neural networks. So far, I have found this great example using pytorch. This implements basic RNN for ...
2
votes
2answers
243 views

How does Sigmoid activation work in multi-class classification problems

I know that for a problem with multiple classes we usually use softmax, but can we also use sigmoid? I have tried to implement digit classification with sigmoid at the output layer, it works. What I ...
2
votes
1answer
26 views

Confidence Intervals for Multi-Categorical Votes

I have an ngram-based language model that produces a long tag list for a given sentence. For example, the just-previous sentence, broken into bigrams, and run through the model might produce something ...
1
vote
0answers
61 views

Sample size equation for multi-class distribution

I have a large (k>15) number of potential classes involved in a text classification problem, and don't know the true distribution of these classes in the ...
2
votes
2answers
35 views

Activity recognition in smart homes with different sources

I have a dataset collected in a smart home and I would like to do Activity Recognition. I am used to classification but in this case data comes from 4 different sources: Accelerometer from wrist ...
1
vote
0answers
18 views

Multiple output from a model

i have dataset where input is userId and day and Output is project activity and hour, each day some users are reporting for two projects, two activities and 4 hour each,,and some users only report for ...
1
vote
0answers
135 views

How to implement one vs rest classifier in a multiclass classification problem?

I have a dataset which contains 750 data points with 8 classes in the target variable. I tried implementing simple machine learning models and also did hyperparameter tuning but they results were not ...
2
votes
2answers
90 views

Sklearn SVM - how to get a list of the wrong predictions?

I am not an expert user. I know that I can obtain the confusion matrix, but I would like to obtain a list of the rows that have been classified in a wrong way in order to study them after ...
0
votes
0answers
29 views

What metrics should be used for evaluating the performance of model that is taking inputs in the form of patches?

I am trying to carry out classification using CNN for the inputs that are in the form of patches. In my point of view, accuracy and loss cannot be the only metrics by which performance of the model ...
1
vote
1answer
85 views

Unblanced classes: classifier only predict one class

I am trying to use a multiclass classification using python. For that I used few algorthims like Random Forest, Xgboost, Logitic regression. My problem is simple, I have users, Images, and people ...
0
votes
0answers
15 views

Looking for large scale annotated multivariate time-series!

I'm looking for labeled large-scale multivariate time-series, such that for each sample the whole sequence is labeled. I especially look for multi-class datasets, and interested in both cases of big ...
2
votes
0answers
40 views

Unbalanced multi-class : distribution might change as more data come in

I am currently working on a problem of multi-class classification on testing logs data. Basically, I have the context data from tests' execution saved, and want to automate the analysis of the ...
2
votes
0answers
43 views

Time-series prediction/forecast coupled with classification [closed]

I am trying to predict a danger zone. I have a multidimensional time-series data and I want to forecast two timeseries for a defined number of time points. Then, I want to classify my predictions and ...
2
votes
0answers
62 views

multi class classification : unbalanced data - good testing results poor prediction results

I have unbalanced dataset with 11 classes where 1 one class is 30% and rest are between 5-12%. I am not a hardcore programmer so I am using the product from https://www.h2o.ai/. I used GBM and DRF ...
0
votes
1answer
87 views

Classification models with multi-class allowed for each record

I am training a multi-class classification model. Each record can belong to one or more classes. (actually can I still call it a classification model? or should it ...
1
vote
0answers
95 views

Reuters / RCV1 / RCV2 datasets

I am currently tackling a multi-label classification problem. Where can I find a benchmark comparison of model results using the datasets mentioned in the title? I am interested in other benchmarks, ...
2
votes
0answers
97 views

Oversampling for multi-class neural net

Does this make sense or do I have no idea what I'm doing? I want to train a model that takes a sentence and outputs a binary multi-class vector of size $K$ where each dimension is a question class. ...
0
votes
1answer
73 views

Evaluate prediction from multiple classification model

Given that I have data containing images of oranges, apples and pineapples and I want to classify depending on a set of features. Expected that I have completed the model and ready for prediction. ...