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
0 answers
in which situation different methods in multi-label classifications in scikit learn should be applied
I have read this to learn about various method in multi-label classifiers.
I learned that there are 3 techniques to do multi-label classifications:
1.Problem Transformation
2.Adapted Algorithm
3.Ensemble approaches
In the category of Problem…

sariii
- 2,020
- 6
- 29
- 57
0
votes
0 answers
Tensorflow multilabel classification with 76,000 possible labels
Based on text description (varing length of 1000 words), i have to tag into one or more possible label values (for single training sample).
Any suggesting algorithm to proceed further.
More concered in backpropogation in tensorflow (Loss, optimizer…

user1531248
- 521
- 1
- 5
- 17
0
votes
0 answers
got error while using k fold split in multilabel in sklearn
I would like to do K-fold cross-validation. the code before K-fold cross validation is like this: and it working perfectly
df = pd.read_csv('finalupdatedothers-multilabel.csv')
X= df[['sentences']]
dfy =…

sariii
- 2,020
- 6
- 29
- 57
0
votes
1 answer
Dimensionality Error when using Bidirectional LSTM with an embedding layer, on multi-label classification
I was trying to use Bidirectional LSTM, to classify text data (sentences) to certain classes. I used 3 of them as an example. I followed the multilabel-classification-post i.e. "Use sigmoid for activation of your output layer", "Use…

Min Chen
- 41
- 3
0
votes
0 answers
Multi hot encoding
I am new+ to Python. I am working on multi label classification and need to prepare target data for multi hot encoding. It has taken way more time than I had initially thought. This is not real data (I can't post it). The data has ID, Category that…

user8716498
- 11
- 2
- 5
0
votes
0 answers
Error in multilabel classification using the mlr package
I am trying to do a multilabel text classification, based on the tutorial available here: https://mlr-org.github.io/Multilabel-Classification-with-mlr/
I am getting this error:
Error in checkLearnerBeforeTrain(task, learner, weights) :
Task…

laura7s
- 3
- 3
0
votes
1 answer
CNN Keras Dog cat classification if image contain both dog and cat
I modified dog cat binary classification to make multi-class activation by using Sigmoid activation function in output layer to get prediction for each individual class, but it failed to get expected results.
I created a image which have both dog…
0
votes
2 answers
How to fix NameError: name 'X_train' is not defined?
I am running the [code] of multi-label classification1.how to fix the NameError that the "X_train" is not defined.the python code is given below.
import scipy
from scipy.io import arff
data, meta =…

abbas khan
- 233
- 2
- 4
- 7
0
votes
0 answers
ploting 3D decision boundaries using SVM classification with 3 classes in Matlab
I am studying examples in Matlab to try to understand the classification procedure for Gaussian SVM. Does anyone have some code in MATLAB (i am using the classification learner app) where I can plot in 3 D the decision boundaries for a multi-label…

Steve
- 13
- 1
0
votes
1 answer
How to add a threshold in softmax scores
When doing multi-classcification usually I got a softmax score and predictoins with below,
softmax_scores = tf.nn.softmax(logits=self.scores, dim=-1)
prediction=tf.argmax(self.scores, 1, name="predictions")
If the softmax_socres I got is…

Yuguang
- 75
- 1
- 11
0
votes
1 answer
Handle categorical class labels for scikit-learn MLPClassifier
I have a handwritten dataset for classification purpose where the classes are from a-z. If I want to use MLPClassifier, I think I cannot use such categorical classes directly because MLP implementation in scikit-learn only handles numerical classes.…

Medo
- 952
- 3
- 11
- 22
0
votes
1 answer
specify priors in multi-label Naive Bayes in python scikit-learn
I am working on a multi-label classification. I used GaussianNB function on python scikit-learn. The target is an array with (N, L) shape, where L is the number of classes and N is the number of observations.
I used three ways to deal with…

ycenycute
- 688
- 4
- 10
- 20
0
votes
1 answer
How to pass in unseen data into multi-label classifier
I have trained a multi-label classifier using SVM, Logistic Regression and NB.
My question is how do I pass in unseen data to the classifier?
Here's my full code
# Bring all the important libraries
%matplotlib inline
import re
import…

Chat Peters
- 39
- 3
0
votes
1 answer
Stacking list of lists vertically using np.vstack is throwing an error
I am following this piece of code http://queirozf.com/entries/scikit-learn-pipeline-examples in order to develop a Multilabel OnevsRest classifier for text. I would like to compute the hamming_score and thus would need to binarize my test labels as…

Shiva Kumar
- 175
- 1
- 12
0
votes
0 answers
Unable to find proper prediction results after using BernoulliNB in python using sklearn
So I gathered some code online for my research work and practice. I am working on a denver crime data set. which looks something like this :
INCIDENT_ID 446399 non-null int64
OFFENSE_ID 446399 non-null…
user8101370