Questions tagged [multiclass-classification]

Filter by
Sorted by
Tagged with
2
votes
1answer
118 views

Multiclass Classification that includes a Geospatial Element

I am attempting to train a classifier to predict different prices for an item in different suburbs. I have several features, two of which are a latitude and longitude for the centroid of the suburb. ...
2
votes
2answers
38 views

Text Classification : Classifying N classes vs rest of the classes

Apologies if this is naive, I am fairly new to the domain. I have a requirement where I am trying to classify 2 types of text data, i.e, I have got 2 classes to classify my data upon. I am able to get ...
2
votes
1answer
62 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 ...
2
votes
1answer
236 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 ...
2
votes
2answers
684 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 ...
2
votes
3answers
133 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 ...
2
votes
1answer
140 views

what is the difference between multilabel and multilabel-multiclass classification?

I am trying to classify news articles into their required category. However I am confused by the above(multilabel and multilabel-multiclass) terminologies. My dataset consists of 2 csv files. The ...
2
votes
1answer
608 views

Comparing multi-class results with binary classification results

We used machine learning to discriminate the following five disease classes: Normal (N) Myocardial Infarction (MI) Coronary Artery Disease (CAD) Congestive Heart Failure (CHF). In the past, these ...
2
votes
1answer
1k 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, ...
2
votes
2answers
734 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 ...
2
votes
3answers
236 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/...
2
votes
1answer
81 views

Image classification: Strategies for minimal input count

I want to classify product images into 8 discrete classes. For several reasons the number of input images need to be as small as possible. Related to this I have 2 questions: What strategies can I ...
2
votes
2answers
1k views

How to improve naive Bayes multiclass classification accuracy?

I have around 9 string features which I have indexed using string indexer and used vector assembler to get the feature vector and used a normalizer to normalize across features . These are the ...
2
votes
1answer
775 views

Question Regarding Multi-label probability predictions

I have been doing a problem in which I have to predict probabilities for each of the labels in a multi-label (four to be precise) classification problem. Example of a solution: ...
2
votes
2answers
618 views

Class imbalance problem?

While working with 3 classes,my dataset contains different proportions of all classes. For example, ...
2
votes
3answers
693 views

Imbalance classes problem

I have a dataset of 4 classes with the following number of instances: Class 0: 13175 Class 1: 82 Class 2: 75 Class 3: 121 Have have applied several subsampling and oversampling methods from ...
2
votes
3answers
1k views

Multiclass classification with large number of classes but for each user the set of target classes is known

Hi Data Science Stack Exchange! I'm new here but I'm familiar with some machine learning theory (took some courses in school) and my question is more about how to apply ML in a practical setting. I ...
2
votes
1answer
259 views

Spark 1.5.1: Train many binary classifiers, save them, then use them on new data

I have a DataFrame representing an annotated dataset with 300 labels. The DataFrame looks like follow (the first row is just to explain the columns): ...
2
votes
0answers
29 views

Keras deep learning speaker identification model excels during training and then fails predictions

I am attempting to create a 1:N speaker identification model with Keras using a TensorFlow backend. I used the LibriSpeech corpus for training data, and preprocessed the data by first converting each ...
2
votes
1answer
29 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: ...
2
votes
1answer
32 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
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, ...
2
votes
1answer
58 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 ...
2
votes
0answers
22 views

Does object detection do a better job at image classification than image classification

I read in an article that object segmentation can do object detection better than object detection algorithms. I assume this is because there is more detailed information in the annotation images. I ...
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 ...
2
votes
0answers
270 views

Can McNemar's test be applied to evaluate multiclass models?

Full Disclosure: I did a semi-cross post of this question due to low traffic on Cross Validated. Once I get an answer on any of the two questions, I will link the answer back to the respective other. ...
2
votes
0answers
64 views

Is AUC a good metric for evaluating the performance of a multi-class classification?

Considering the definition of AUC (Area Under Curve), is that a reliable performance metric for a multi-class (30-40 classes) classification problem?
2
votes
0answers
452 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
0answers
32 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 ...
2
votes
1answer
216 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 ...
2
votes
1answer
29 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 ...
2
votes
0answers
63 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
63 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
253 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 ...
2
votes
0answers
198 views

Train a multi-output neural network to learn subset of “valid” response combinations

I'm working on extending a model of human immediate serial recall task performance, originally described in this paper. This model takes a sequence of items, such as digits or phonemes, stores them as ...
2
votes
0answers
2k views

How to set weights in multi-class classification in xgboost for imbalanced data?

From this post, I know you can set scale_pos_weight for an imbalanced dataset. However, for the multi-classification problem in the imbalanced dataset, I don't ...
2
votes
0answers
1k views

why the accuracy of LDA model is always changing and also is high

Let’s explain the whole goal firstly, then go through the question. I am using topic modeling like LAtent Dirichlet Allocation and NMF to extract the topic from a collection of documents. My dataset ...
2
votes
2answers
2k views

Logistic Regression as multiclass classification using PySpark and issues

I am trying to use Logistic Regression to classify the datasets which has Sparse Vector in feature vector: Case 1: I tried using the pipeline of ML in MLLIB as ...
2
votes
0answers
94 views

How to mitigate the hierarchical error propagation in tree-structured classification

Suppose we have a multi-class classification problem, where the number of classes $K \geq 3$ We use a tree structure of multiple SVMs to divide and conquer the problem, with one example in the figure ...
2
votes
0answers
540 views

Fisher's Iris data set with Caffe

I am trying to use Caffe on the usual Fisher's Iris data set (150 flowers, each having 4 features, and split into 3 classes): if a flower belong to class 1 (setosa), the network output should be [1, ...
2
votes
0answers
494 views

Where can I download a tagged dataset of text related to finance, programming, analytics etc.? [closed]

I want to create and train a model which classifies a new text content into finance, programming, analytics, design etc. Where can I get a relevant dataset to train my models? TIA.
1
vote
2answers
542 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
4answers
1k views

How to evaluate the clustering result when cluster numbers are not equal to data set class

When apply clustering algorithm with the multi-class data set and class numbers are not equal to the result cluster numbers(For example , When we use K-Means algorithm by setting K = 3 apply with "...
1
vote
2answers
54 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 ...
1
vote
2answers
73 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 ...
1
vote
1answer
1k views

Binary Neural Network Classification or Multiclass Neural Network Classification?

I am confused about the difference between a binary and multiclass neural network classification. If I am writing an algorithm that has 2 output classes (Obama or Romney), but not yes or no (so not ...
1
vote
1answer
2k 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. ...
1
vote
2answers
40 views

How to use the time-sampled data(50 samples/Minute) as input for classifying the output

I am working on a classification problem and the data I have is a time sampled data(50 samples/Minute). ...
1
vote
2answers
2k views

OOB decision function doesn't match prediction in scikit-learn RandomForest

I am using a RandomForest for multiclass classification. I would like to use the oob_decision_function to explore precision/recall, but I don't understand the OOB results. I am using 25,000 trees (...
1
vote
2answers
37 views

Why my training and testing set are about 99% but my single prediction does wrong prediction?

I have performed fruits classification using CNN but i am paused at a point where all things are going right confusion matrix accuracy score all are correct it seems there is no overfitting but it ...

1 2
3
4 5
7