Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [multi-class]

Multiclass classification is a classification task in which there are more than two classes. It is also called multinomial classification.

299 questions
Filter by
Sorted by
Tagged with
6 views

Error while performing multiclass classification using Gridsearch CV

I am trying to solve a multiclass classification problem using SVC as the base estimator and GridSearchCV to tune my results. Mentioned below is the code and the error being received: ...
17 views

Is skip-gram model of word embedding actually a multi-class task not a multi-label task, right?

So curious about this question, that I can't describe it in short. Please forgive me. Description： From multiclass and multilabel algorithms, we can get the definition of the multi-class and multi-...
15 views

Log-likehood : ommited value

I searched the second form of the log-likelihood equation which appear in A Probabilistic Perspective of Kevin Murphy because I've tried to understand why $y_{ic}$ disappear in the second part of the ...
8 views

Define Insurance Risk Score from Unsupervised Clustering + Supervised Classification using logits

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 ...
17 views

Is it wise to reduce the number of labels in a multi-class classification problem?

I'm working on a dataset which has 5 labels or the outcome, Y. I'm going to use ML model to predict the 5 labels. While doing the data analysis, I found that class1(60%), class2(39%),class3(0.33%), ...
13 views

is that ok if we have just one intercept for one hyperplane in SVM?

I am doing classification and using SVM. I am trying to do that by myself not using library or ready function. I get the best result when I have 1 intercept for one hyperplane and no intercept for 2 ...
14 views

Comparing multiclass LDA and logistic regression equations

I was told that LDA and logistic regression is the same, when we consider 2 class situation. That I can also confirm (I think), for LDA \log \frac{Pr(Y=1|X=x)}{Pr(Y=0|X=x)} \\ = \frac{f_1(x)\pi_1}{...
17 views

What Multi-Class Text Classification alghoritm return few possible option?

I'm looking for some alghoritm to use for Multi-Class Text Classification and returns not only class with the highest possibility but a few ones. Its like with gensim Word2Vec: ...
67 views

Calculate AUC using sensitivity and specificity values only

How to calculate AUC, if I have values of sensitivity and specificity for various threshold cutoffs? I have sensitivity and specificity values for 100 thresholds. ...
16 views

Oversampling a multi-labeled data set

Given a data set where each individual data point can be assigned to more than 1 class (a multi-class, multi-label data set), are there any guidelines for calculating oversampling weights, i.e., the ...
4 views

how to use RFB for primal svam model?

I know if we want to solve primal model of non-linear SVM, we have to generate new features. for example for kernel (1+xz)^2 for primal problem for any pair of features x1 and x2 we have to generate: ...
28 views

Feature selection in multi class environment

I have a $\mathbb{R}^{10000 \times 25000}$ feature matrix (10000 observations and 25000 features). The observations come from 4 different classes, i.e. it is a multiclass classification problem. I ...
38 views

Best model for multiclass classification

I have a dataset which consists of categorical predictors, and I hope I can classify them into 3 different classes. Instead of creating a "Black box" model, such as neural network and svm, I would ...
26 views

Multi-output and multi-class classification?

I have a question regarding the following classification task. I guess that the forecasting problem can be seen as a multi-output and multi-class classification problem. But i am absolutly not sure. ...
63 views

multiple measurements for classification; which one to choose?

There are five different classes (labels) where the new points have to be classified at. For each new point, five different measurements are conducted, resulting into similar although different values ...
33 views

Permutation test for accuracy in multiclass discrimination

It is well known that to assess the significance (i.e. difference from chance) of the performance of a classification analysis one can use a permutation test. In a two-classes case, the procedure is ...
17 views

does multicolinearity affect classification models? any type of classification models like SVM, ANN, Random Forest,etc

I have been working on a dataset with more than 50 variables and I know some of the variables are highly correlated(>0.8). so for my multi-class classification problem should I worry about ...
17 views

Correlation of ulticlass classification results between multiple methods

I have a multiclass classification task and some methods for the task. Then, I want to analyze the classification results among the methods. I would give you an example. Task: Animal Classification (...
35 views

Improveness given a certain AUPRC

I am training a machine learning model (Random Forest) for a multiclass problem (64 classes) in which most of them are highly imbalanced. That's why I am using mainly F1 score for checking the model's ...
65 views

Sequence Classification Machine Learning Methods

I know that this question might have been asked before but I did not find any response so far. My problem is that I am doing Multi-class sequence classification with Stacked LSTM (3 layers) using ...
14 views

Naive Bayes missclassification rate across classes

I have a dataset with income, age sex and education as categorical features. I used R to create a Naive Bayes classifier as follows: income ~ age + sex + education. I got the following a-priori and ...
60 views

Is there any strategy for validating the result of a general comparison between several confusion matrices?

Disclaimer: Recently we have developed a python library named PyCM specialized for analyzing multi-class confusion matrices. A compare system has been added in <...
108 views

Evaluating Unbalanced Multiclass Classifiers: Which Tests to Use? [closed]

I am looking for some comprehensive instructions and ideally out of the box solutions (ideally for python) for evaluating different classifiers (which are already trained) for a multiclass ...
19 views

Are these Multi-label document classification experiment steps sensible?

I plan to filter an input document using 4 different labels. Just for an example, a document discussing about movie summary needs to be labeled with 4 labels (Romance, Drama, Fiction, Hollywood). ...
149 views

Improving Average F1 Score for Multiclass Classification

I'm trying to do a multiclass classification with h2o in R. I stacked a model with a RF, GBM and deeplearning. The accuracy is ok (~0.81), but the average F1 score is bad because class B has a very ...
99 views

Is it possible to calculate the ROC_AUC score for a class in a multiclass problem that is not in the predicted array?

I was working on calculating the auc score for a multiclass problem and came across this problem. Suppose I have a data set with three classes [0,1,2] My test set is like this [0,1,2,0,0,2] My ...
10 views

What measures of an ML algorithm's 'accuracy' are mostly consistent as the number of classes to predict into varies?

For a research project, I've got a bunch (N=507) of 20-second VR tracking data clips (6DOF x head and hands), each from a different participant. My goal is to predict the participant using a small ...
367 views

SMOTE sampling for multi-class data

I have a classification problem with 4 distinct classes, but imbalanced data. ...
11 views

Multiclass classification- dealing with clusters within classes?

I'm currently dealing with a problem where I'm trying to predict how much a value x will change over time given input variables and am bucketing this change into separate classes (ie -100 to -50%, -50%...
26 views

Multiclass classifier with undefined prediction, how to calculate metrices

I build a multiclass classifier. I want the classifier to predict a few samples with little false positives, rather then many samples with lots of false positives. Therefore I want to choose a ...
16 views

How to calculate precision-recall curve for multiple binary classifier for multiple classes

I am using autoencoder based multiple binary classifier for text regeneration each trained on data related to multiple classes. In other words, each classifier is trained to classify only one class. I ...
21 views

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

I have a balanced dataset for a multi-class 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 ...
30 views

Is Multi-output Multi-Label classification possible for this merging problem?

I have programmed a game called cell wars where cells can capture other cells via merging. The image below shows the same board before merging (top) and after merging (below). Basically, overlapping ...
22 views

Identifying Misclassifications

Let's say there's a process that takes in an observation X and assigns it to one of 3 classes: A, B, or C. It's believed that this process routinely assigns observations to class A when they should'...
23 views

How to ensemble predictions from image classifier and text classifier?

I am doing multiclass classification based on images and text. I have predictions from both image classification and text. I am not sure how to combine them. Should I use probabilities as a feature to ...
20 views

Machine Learning, which kind of classification should i use?

So im trying to make a ML classifier model to my data. My data has many X(variables [texts, integers, binaries etc.]) and 5 output(Y) information. In short, lets say i have 5 different places to put ...
31 views

How to choose metrics for evaluating classification results?

Recently we have developed a python library named PyCM specialized for analyzing multi-class confusion matrices. A parameter recommender system has been added in version 1.9 of this module in order ...
41 views

Intuition Behind One Vs. All Linear Least Squares Classification

I understand that in the one vs. all classification approach, we form $k$ discriminants, one for each of the $k$ classes and that $(w_k - w_j)^Tx + (b_k - b_j) = 0$ is the hyperplane decision boundary ...
616 views

What is difference between accuracy_score() and cross_val_score()?

The problem I'm working on is a multiclass-classification. Have been reading through lot of articles and documentation, but not able to figure out which of Accuracy_Score or Cross_Val_Score should be ...
81 views

Machine learning for product names

I have a machine learning challenge I may be over thinking. I have a set of 3.5 million products (not unique, there are multiple instances of each product). Each product has a "description" from it's ...
35 views

Which classification model should I choose and Why?

I am working on a research-based assignment where I suppose to build a 3-class (bad, medium, good) classification using SVM. The dataset provided is imbalanced. The train:test splitting ratio is 75:25 ...
8 views

Is it possible to have a constent accuracy for my tensorflow network whatever is the iterations?

I am runing my tf NN composed by one input, one hidden and one output layers the number of hidden nodes if the half of total features number I have got the next table considering different learning ...
18 views

Hierarchical vs multi-class, when to use what?

I am looking for suggestions from machine learning research perspectives about using hierarchical classifier vs multi-class classifier. For example, if I have to classify 3 classes, let's say, 2 ...
75 views

Anyway i can improve this multi class classification result?

I am building a multi class classification model using SVM to predict the grade for essays. What can I do to improve the result especially for class 1 and class 3? Their precision and recall are ...
722 views

Adjust thresholds in multi-class classification [duplicate]

I have trained a random forest classifier on a (highly-imbalanced) 3-class problem (A 1% of the data, B 96%, C 3%) and obtained probabilities for each of the three classes. Currently I assign an ...
52 views

RFE-RF for non-ordinal multi-class problem using integer target variable

For a classification problem with numerical predictors and a categorical multi-class response I am trying to use Recursive Feature Elimination with Random Forests to identfy relevant features out of a ...
81 views

Quadratic Weighted Kappa metric in H2O package for model performance

I am running a multiclassification problem and before I make a function by myself I was wondering if anyone knows of a pre built quadratic weighted kappa function in the h2o library.
20 views

Logistic Regression(multi class) accuracy too small

I try to solve a problem with 3 features and 6 classes(label). The training dataset is 700 rows * 3 columns. I use one-Vs-all method, but I do not why the prediction accuracy is too small, just 24%. ...