Questions tagged [multiclass-classification]

Filter by
Sorted by
Tagged with
2
votes
0answers
26 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
18 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
17 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
30 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
16 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, ...
3
votes
1answer
31 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
32 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
36 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
7 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
25 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
35 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
31 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 ...
6
votes
1answer
36 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
24 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
28 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
41 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
14 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 ...
0
votes
1answer
31 views

Build a model to classify given string/text input

I need to build ML/NN model to classify/predict a given string pattern. Sample training data looks as shown in the image. Input will be the string in the column "Id Number", i need to tell to which ...
0
votes
2answers
59 views

How to handle addresses of the restaurants to feed the data-set in the ML model?

I have data from different restaurants which have also address of the restaurants now I want to predict the food delivery timing based on the given data, now the restaurant address is one of the ...
2
votes
3answers
139 views

Tensorflow classification - maximize the accuracy of certain classes

I'm doing some experimentation and trying to train a forex trading model to classify based on three classes: Buy Sell No action Input rows are labeled as buy when ...
-1
votes
1answer
115 views

Softmax gives output vector whose sum is greater than 1 in Pytorch

I am a newbie to PyTorch. I was trying out the following network architecture to train a multi-class classifier. I used Softmax at the output layer and cross entropy as the loss function. However, the ...
1
vote
1answer
100 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. ...
0
votes
0answers
20 views

Unseing label in PySpark MultilayerPerceptronClassifier

I'm trying to perform classification with a MLP in PySpark: ...
2
votes
2answers
34 views

how to access weights of individual Neurons in the output layers in MLPs?

im working on a neural network using Keras. Its an mlp(multi-layer perceptron). With 8 Neurons in the output layer. Is there a way I can access weights and biases of individual neurons of the output ...
1
vote
0answers
26 views

Multi-label classification with missing labels

I have a neural network that generates a vector that represents the class probabilities. Since it is a multilabel classification problem, I'm supposed to train the network using sigmoid + binary cross-...
0
votes
0answers
6 views

How to increase Overlapping in Real Dataset

How to increase overlapping in real data set, i.e, if we add some sample in majority class or add sample in overall data set the overlapping may increase, but the question is that how to add sample in ...
0
votes
0answers
4 views

Finding relevant pain points in feedbacks(open text)

I have employee feedback and need to find the appropriate pain points out of their feedback. Need help with the approach and analysis. I have provided a couple of examples below. Note: The feedbacks ...
0
votes
0answers
12 views

Improve the results of imbalanced multi-classification multi-lables data

I have 10k rows of multi-classification (x1..x27,y), size of dataframe is: 28*10k and its ...
1
vote
1answer
111 views

How does XGBoost use softmax as an objective function?

I'm quite used to seeing functions like log-loss, RMSE, cross entropy as objective functions and it's easy to imagine why minimizing these would give us the best model. What's difficult to imagine is ...
1
vote
0answers
16 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
421 views

Sklearn classification report is not printing the micro avg score for multi class classification model

There are 6 class labels encoded as 0,1,2,3,4,5 While executing classification report score it outputs accuracy,macro avg,weighted avg .The micro average score is missing in the output . Im not ...
1
vote
2answers
169 views

class_weight on sklearn's DecisionTreeClassifier

Can class_weight='balanced' on scikit-learn's DecisionTreeClassifier be interpreted as having identical duplicate data points for the minority classes? I know that doesn't work that way, class_weight ...
1
vote
1answer
53 views

Risk score from Neural Network classifier (more than 2 categories)

I am trying to use a Neural Network to perform multiclass classification. The classes represent Insurance Risk Level. The most risky level is Level 1, the least risk corresponds to Level 10. The ...
0
votes
0answers
15 views

Scaling ML/DL classifier

I have been trying to find some guideline through google/stackoverflow for scaling a classification system. E.g. how can I scale a face recognition system if we want to add new people into the system? ...
0
votes
1answer
53 views

how to see in pandas the element of a csv table with many columns (>30) which the names of its columns is more than 10 character?

how to see in pandas the element of a csv table with many columns (>25) which the names of its columns is more than 10 character? I have 5000 rows and 32 columns and the label of some columns are more ...
2
votes
3answers
56 views

Highly Imbalanced dataset fro classes more than 200

I have a text dataset where I need to train a classifier to classify the titles into categories. The dataset shape is more than 575000. There are 256 target classes here. The problem is the dataset is ...
0
votes
0answers
77 views

Multi Class Text Classification

I am new in deep learning and I am trying to build a classification module which can classify text to one of 9 classes and then use the result of the classification to classify them to another set of ...
0
votes
0answers
13 views

How to extract electroglottograph/laryngograph using python(specially in “librosa”)?

in a certain project of mine which is related to feature extraction from speech data, I want to extract some electroglottograph/laryngograph from speech data, I have read some research papers but ...
0
votes
0answers
10 views

What are the best classifier for multiclass problem?

I have some heart sounds(.wav) for normal,murmur and artifact acquired through android by putting phone MIC directly on chest. I extracted time and frequency domain measures. Suggest me best ...
2
votes
2answers
71 views

Is it possible to have a default class in multi class classification?

In the general text classification problem, training a machine learning model to detect if a text belongs to one of N number of classes always yields a value in N. Even if the text that was passed to ...
0
votes
0answers
10 views

High accuracy in one v. all, lower accuracy in all vs. all

I am training a classifier (similar to logistic regression) on MNIST. I have 10 one -vs.-all classifiers for each number, each of which independently achieves >90% test set accuracy. However, when I ...
2
votes
2answers
67 views

True positives and true negatives, F1 score: multi class classification

I have 4 classes for an application of classification of animal kingdom: 1 --> invertibrates; 2 --> vertibrates; 3--> mammal; 4 ---> ambhibian. Given a mixture of images the objective is to identify ...
0
votes
1answer
223 views

Difference of sklearns accuracy_score() to the commonly accepted Accuracy metric

I am trying to evaluate the accuracy of a multiclass classification setting and I'm wondering why the sklearn implementation of the accuracy score deviates from the commenly agreed on accuracy score: $...
1
vote
2answers
57 views

Improving classifcation when some are less represented?

I have a multi-class classification problem. It performs quite well but on the least represented classes it doesn't. Indeed, here is the distribution : And here are the classification results (I took ...
0
votes
1answer
36 views

Data quality improvement as a part of preprocessing: Imputation

I have a python pandas dataframe representing a superset. The data contains a lot of nulls which I want to overwrite with real values. the superset has: both numerical and categorical data some ...
1
vote
0answers
19 views

How can I train a machine learning model with below characterstics? [closed]

Hi I have a classifier model to solve, which has close to 56k samples and 30 features which ...
0
votes
0answers
9 views

Shrink the training set during the learning process

Is there any way to change the size of the training set during the learning process? For example, let's say we have four classes (with their distribution): [A (90%), B (5%), C(2%), D(3%)]. Can we ...