Questions tagged [multiclass-classification]

Filter by
Sorted by
Tagged with
0
votes
0answers
4 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 ...
0
votes
1answer
14 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
9 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
24 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
14 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
19 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 ...
1
vote
1answer
56 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
vote
1answer
58 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
0answers
26 views

Generate a balanced batch with ImageDataGenerator() and flow_from_directory()

Hi I am new to python and deep learning. I am doing a multiclass classification. My 3-classes dataset is imbalanced, the classes take about 50%, 40%, and 20%. I am trying to generate mini batches with ...
0
votes
1answer
22 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?
1
vote
0answers
19 views

How to deal with training set that overfits very easily

I have a dataset consisting of 72 one-hot encoded (thus binary) features and 2.5K training examples. With this I am trying to solve a 10-class classification problem. My main problem is that no ...
0
votes
1answer
23 views

Different definitions of Macro F1 score, which one is used in Scikit-learn?

In this article Macro F1 and Macro F1 two different definitions of the F1 used in the literature are demonstrated. The first F1 score is computed such as: F1 scores are computed for each class ...
0
votes
1answer
34 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: ...
2
votes
1answer
22 views

Control which features are used for every task in multioutput classification?

I would like to perform a multiclass-multioutput classification task, on vectorized textual data. I started by using a random forest classifier in a multioutput startegy: ...
0
votes
1answer
5 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 ...
3
votes
1answer
19 views

Multiclass imbalanced classification

I have a dataset with the target variable having 3 classes. Value counts of Target variable are as follows: ...
3
votes
1answer
56 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
0answers
17 views

How to prepare data for multi-class tasks

I wish to train a multiclass audio classification NN. I am following this paper and this tutorial. The thing is, for audio segments containing more than a single class, ...
0
votes
1answer
44 views

LSTM Multi-class classification for large number of classes

I want to build a model that classifies 473 classes -product categories-, but I'm facing a problem with loss not decreasing. Data I have almost 3,000 data points for each class -473 classes- (data ...
0
votes
0answers
17 views

statistical hypothesis and rejection

Recently I have to analyze the multiclass classification problem But, it's not just I have to predict and submit I have to make a hypothesis with this data and have to find the rejection methods for ...
1
vote
0answers
22 views

is there metric 'multi_logloss' for xgb crassifier?

lgb has the log_loss metric ...
0
votes
1answer
17 views

Over/Under Sampling for Multi-classification

I'm trying to apply xgboost and random forest for over and under sampling For imbalanced data: train shape -> (199991, 23) However, reverse my expectation. ...
1
vote
3answers
92 views

Association rule learning for multi-classification suggestions

The task is the following: given a training set of medical symptoms and an associated diagnosis, output a list of the most likely diagnosises for a combination of symptoms. As of now, a solution ...
1
vote
2answers
35 views

Different performance for splitting into test/train data vs. using cross-validation

I am training a linear model using the following scikit-learn setup: ...
0
votes
0answers
9 views

Sequential Forward Selection (SFS) for standard Feed Forward Neural Network

I'm comparing the classification performance (accuracy, f1-score etc.) of several predictive models (logistic regression, random forest, xgboost etc.) with a standard feedforward neural network. For ...
1
vote
3answers
44 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 ...
1
vote
0answers
14 views

Multiclass AUC score higher than binary

I just built a random forest classifier and wondered about the results. I have 4 classes: A, B, C and control. When I compare A vs control, B vs control, C vs control I get a lower average AUC score ...
2
votes
1answer
25 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 ...
2
votes
1answer
24 views

Several independent variables based on the same underlying data

I got a data containing, among others, two feature variables, which are based from the same underlying data (i.e. have mutual information), but they convey different information/message. How to handle ...
2
votes
0answers
20 views

Unbalanced data set - how to optimize hyperparams via grid search?

I would like to optimize the hyperparameters C and Gamma of an SVC by using grid search for an unbalanced data set. So far I have used class_weights='balanced' and selected the best hyperparameters ...
1
vote
0answers
30 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 ...
1
vote
1answer
22 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 ...
1
vote
0answers
26 views

Use cross entropy to create decision tree classifier

Are entropy and cross-entropy the same thing as per basic definition? If there is a difference: Decision tree splits take on entropy or Gini index, can we use cross-entropy to split decision trees? ...
2
votes
1answer
101 views

Multiclassification Error: NotFittedError: This MultiLabelBinarizer instance is not fitted yet

After picking the model, when I try to use it, I am getting error - "NotFittedError: This MultiLabelBinarizer instance is not fitted yet. Call 'fit' with appropriate arguments before using this ...
1
vote
0answers
17 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, ...
2
votes
1answer
32 views

Classify pdf files - image approach vs. text approach

I'm about to start a project with the objective to classify PDF-documents. I'm wondering if there's a best practice approach to tackle this problem. Concretely I'm wondering if one of the following ...
0
votes
0answers
37 views

Structured data classification based on rules

In my scenario i have a structured data that represent each an object of possibly a big objects collection. Each object, as said, is structured so there is no need to further manipulation to extract ...
1
vote
2answers
59 views

How to get sensitivity and specificity for multi-class classification for each fold of cross validation?

I am working on a multi-class classification consisting of 4 classes. I am applying 5-fold cross-validation on it and would like to get the sensitivity (recall) and specificity score for each of those ...
0
votes
0answers
14 views

One label dominates in a multiclass classification problem when mapping scores to labels

I am supposed to map each person in my dataset to one of the n categories based on his propensity score. To achieve that, I constructed n models and obtained scores for each category. I did ...
0
votes
0answers
8 views

For a neural network trained to do multi-class classification, should I normalise the outputs when determining the “confidence”

Apologies in advance if this is a fairly elementary question - I'll confess to not paying enough attention in my ML classes! I have a neural network designed to do multi-class classification, for ...
-1
votes
1answer
70 views

F1_score(average='micro') is equal to calculating accuracy for multiclasification

Is f1_score(average='micro') always the same as calculating the accuracy. Or it is just in this case? I have tried with different values and they gave the same answer but I don't have the analytical ...
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 ...
2
votes
1answer
47 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 ...
3
votes
1answer
56 views

Is multi-class classification the same with categorical classification?

I am working on a project with image classification with 5 different classes and I was wondering if categorical classification can be used as a synonym for multi-class classification. PS. Forgive me ...
5
votes
1answer
45 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 PDF: E.g. if we have the classes 1.1, 1.2, 2.1, ...
0
votes
0answers
31 views

Metrics for multi-class classification. When the prediction is of low quality

I am having a multi-class classification problem, so prediction of an instance to which class belongs to. I am reading that the typical metrics like accuracy or score are very "strict" on such ...
0
votes
1answer
41 views

Labels are not given for multiclass classification problem

I have probably a weird question. If you are dealing with a multiclass classification problem, do you always have already determined target output/labels? I have e.g. a huge data set with a lot of ...
3
votes
2answers
31 views

Does Sampling size matters in Multi classification Model

I am working on a multi class classification model where few of the class are with less data compare to other classes. I used random sampling technique to create a sample from the population keeping ...
1
vote
2answers
44 views

Classification accuracy of a Random Multi-label Classifier

What is the exact accuracy of a random classifier which has n labels (say 1000) where k labels (say 50) are true? Can I say the accuracy of a random classifier has an upper bound of k/n? -Edit- I ...
0
votes
0answers
23 views

tsfresh: how to predict class

I've got a 22000x17 array timeseries and I used tsfresh to extract features. There are like 10 classes. The entire process took about half an hour to compute but I now have the DataFrame with the ...

1
2 3 4 5
7