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
0
votes
1 answer
Label not x is present in all training examples
Hello, I have come across an issue when trying to predict tag/label
on my project. I am currently using similar tutorial (with my own
data) to predict complain in complaint register based on given tag
such as 1 Complaint --> many Genre…

J.L
- 17
- 5
0
votes
1 answer
Can i have mutliple labels for a single image in an image classification scenario
If I am building a model where I need to predict the vehicle, color of it, and make of it, then can I use all the labels for a single image and build my model around it.
Like for a single image of a vehicle which is a car (car1.jpg) will have labels…

Subham Tiwari
- 450
- 4
- 14
0
votes
1 answer
Inverse transform function is not returning correct value
I am following tutorial for multi labeling movie genre from https://www.analyticsvidhya.com/blog/2019/04/predicting-movie-genres-nlp-multi-label-classification/
I am using that tutorial to create prediction tag for complaint register. In my case, I…

J.L
- 17
- 5
0
votes
0 answers
tf.one_hot returns
As the shape is None I'm not able to process further. I need full shape after one_hot encoding.
labels = [0, 0, 0, 0, 0, 0, 0, 1]
one_hot_labels = tf.one_hot(labels,5)
Which Returns
)
This results…

Crazy-Kaleidoscope-7
- 360
- 2
- 15
0
votes
2 answers
Multi-Label Image Classification
I tried myself but couldn't reach the final point that's why posting here, please guide me.
I am working in multi-label image classification and have slightly
different scenarios. Actually I am confused, how we will map labels and their attribute…

Magi
- 49
- 1
- 9
0
votes
0 answers
Train and test set have different length of unique target labels
I'm trying different algorithms, including a NN for a multiclass sequential classification problem.
Dataset is 66 Bach chorales, 12 binary columns of musical notes, and a target variable "chord", which has 102 unique labels.
> dim(d)
[1] 5664 …

mad-a
- 153
- 3
- 11
0
votes
0 answers
CNN Keras Multi Label Output Prediction
I'm trying to implement the CNN code from Andreas Werdich: https://github.com/awerdich/physionet
" The goal of this project was to implement a deep-learning algorithm that classifies electrocardiogram (ECG) recordings from a single-channel handheld…

Chip
- 19
- 4
0
votes
1 answer
GradientBoostingClassifier train loss increasing and no convergence
I am trying to find a model for my multi category classification problem. I have a training set of 150k records, X_train.shape = (150000, 89) and y_train.shape = (150000,) with 462 category integer labels. I wanted to give a try to…

pittnerf
- 739
- 1
- 6
- 17
0
votes
3 answers
Good accuracy but wrong prediction
I have trained a model with a very good val_accuracy, but the predictions are completely wrong. Unfortunately answers to similar questions didn't help me. My network has a mutli label problem. The end result is to predict the 3 best labels for each…

glomba
- 153
- 2
- 4
- 10
0
votes
0 answers
Choice of metric for multilabel classification problem
I have a multilabel classification problem with K labels. Ideally, I'm looking to train a model to maximize the exact match accuracy, but I know that this kind of metric is not suitable for this kind of task.
I have a function that takes the output…

Jeremy
- 35
- 5
0
votes
0 answers
Issue with multilabel classification
I followed this tutorial: https://medium.com/@vijayabhaskar96/multi-label-image-classification-tutorial-with-keras-imagedatagenerator-cd541f8eaf24
and wrote some of my code for multilabel classification. I had it working with one-hot encoding on a…

Tyler Bench
- 41
- 7
0
votes
1 answer
Keras custom loss function that depends on the input features
I have a multilabel classification problem with K labels and also I have a function, let's call it f that for each example in the dataset takes in two matrices, let's call them H and P. Both matrices are part of the input data.
For each vector of…

Jeremy
- 35
- 5
0
votes
2 answers
How can I calculate correlation between subjects?
How can I calculate correlation between classes of the texts?
E.g., I have 3 texts:
texts = ["Chennai Super Kings won the final 2018 IPL", "Chennai Super Kings Crowned IPL 2018 Champions",
"Chennai super kings returns"]
subjects =…

user565447
- 969
- 3
- 14
- 29
0
votes
2 answers
Passing a list as loss_weights, it should have one entry per model output. Keras tells me that the model has 1 output but I thought having more
I have a dataset df for a multiclass classification problem. I have a huge class imbalance. Namely, grade_F and grade_G.
>>> percentage = 1. / df['grade'].value_counts(normalize=True)
>>> print(percentage )
B 0.295436
C 0.295362
A …

Revolucion for Monica
- 2,848
- 8
- 39
- 78
0
votes
4 answers
SKLearn Multi Classification without Knowing the Classifications in Advance Python
I have recently got in to using SKLearn, especially Classification models and had a question more on use case examples, than being stuck on any particular bit of code, so apolgies in advance if this isn't the right place to be asking questions such…

top bantz
- 585
- 1
- 12
- 29