Multi-label classification refers to the problem in Machine Learning of assigning multiple target labels to each sample, where the labels represent a property of the sample point and need not be mutually exclusive.
Questions tagged [multilabel-classification]
844 questions
7
votes
0 answers
How to perform super pixel image segmentation and feature extraction
I am interested in multi class segmentation of skin tissues, I have 3000 skin tissue labels classified into 4 classes, I have created a CNN classification algorithm to train my classification model. I would like to use the classification model for…

DevanDev
- 161
- 1
- 2
- 17
7
votes
1 answer
How to interpret: Label Ranking Average Precision Score
I am new to Array programming and found it difficult to interpret the sklearn.metrics label_ranking_average_precision_score function. Need your help to understand the way it is calculated and any appreciate any tips to learn Numpy Array…

Pavan Kumar Polavarapu
- 450
- 3
- 11
7
votes
2 answers
Multi-label classification Keras metrics
Which metrics is better for multi-label classification in Keras: accuracy or categorical_accuracy? Obviously the last activation function is sigmoid and as loss function is binary_crossentropy in this case.

fpi
- 313
- 1
- 5
- 15
7
votes
1 answer
multioutput classifier/learning 5 target variables
I am a newbie to machine learning. I have been struggling with a problem for a few weeks now and I hope someone can help here:
I have a data set with one continuous variable and the rest are categorical. I managed to encode the categorical variables…

PatMuk
- 71
- 1
- 3
7
votes
2 answers
Weird accuracy in multilabel classification keras
I have a multilabel classification problem, I used the following code but the validation accuracy jumps to 99% in the first epoch which is weird given the complexity of the data as the input features are 2048 extracted from inception model…

RanaSamy
- 87
- 1
- 5
7
votes
2 answers
Is there an easy way to get confusion matrix for multiclass classification? (OneVsRest)
I was using OneVsRest classifier on three class classification problem, (three random forests). Occurrence of each class is defined my dummy integer (1 for occurrence, 0 for otherwise). I was wondering if there is an easy alternative way to creating…

Gediminas Sadaunykas
- 409
- 1
- 4
- 11
7
votes
2 answers
Multi-label feature selection using sklearn
I'm looking to perform feature selection with a multi-label dataset using sklearn. I want to get the final set of features across labels, which I will then use in another machine learning package. I was planning to use the method I saw here, which…

Taylor
- 151
- 1
- 2
- 9
7
votes
3 answers
Sklearn: Evaluate performance of each classifier of OneVsRestClassifier inside GridSearchCV
I am dealing with multi-label classification with OneVsRestClassifier and SVC,
from sklearn.datasets import make_multilabel_classification
from sklearn.multiclass import OneVsRestClassifier
from sklearn.svm import SVC
from sklearn.grid_search…

Francis
- 6,416
- 5
- 24
- 32
7
votes
2 answers
PyStruct - No matching signature find
I'm trying to use code from here: https://github.com/pystruct/pystruct/blob/master/examples/multi_label.py
I have X_train with shape (2591, 256) and y_train with shape (2591, 175). When I run this:
tree = chow_liu_tree(y_train)
tree_model =…

thecoparyew
- 715
- 1
- 9
- 24
6
votes
0 answers
Multi-Class or Multi-Label Classification with LightGBM
I am working on a classification project that an outcome may belong to multiple classes. For example, the outcomes may belong to Class A, B, and/or C; e.g., A, B, A&B, A&C, B&C, etc. However, I want to predict the probability of a class. For…

David293836
- 1,165
- 2
- 18
- 36
6
votes
3 answers
Multi-class, multi-label, ordinal classification with sklearn
I was wondering how to run a multi-class, multi-label, ordinal classification with sklearn. I want to predict a ranking of target groups, ranging from the one that is most prevalant at a certain location (1) to the one that is least prevalent (7).…

Lemor
- 61
- 1
- 3
6
votes
1 answer
Correct Ranking Loss Implementation
I have a multi-label problem and I am trying to implement the Ranking Loss as a custom loss in TensorFlow. (https://arxiv.org/pdf/1312.4894.pdf)
I made a simple CNN with a final Sigmoid layer of activations, to have independent distributions for…

Hichame Yessou
- 2,658
- 2
- 18
- 30
6
votes
1 answer
Keras multi-label image classification with F1-score
I am working on a multi-label image classification problem with the evaluation being conducted in terms of F1-score between system predicted and ground truth labels.
Given that, should I use loss="binary_crossentropy" or…

user706838
- 5,132
- 14
- 54
- 78
6
votes
2 answers
Multilabel image classification: is it necessary to have training data for each combination of labels?
I want to train a CNN for a multilabel image classification task using keras. However I am not sure how to prepare my tranining data. More specifically, I am wondering if I need training images that show a combination of two or more labels or if it…

AaronDT
- 3,940
- 8
- 31
- 71
6
votes
0 answers
OneVsRestClassifier prediction probabilities calibration
In my multi-label classification problem apart from class predictions, I need to retrieve confidence scores for these predictions.
I'm using OneVsRestClassifer with a LogisticRegression model used as a base classifier. While experimenting with my…

ce57
- 128
- 8