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
How to download/save images from a csv file using url into specific created folder on my local Windows Machine?
I am trying to download the images which are available as url in csv file into specific folders (named as Male, Female for classification) I created in my C:/Desktop/Images. But when I run the below code, nothing is getting downloaded and getting…

Ravi Vemuri
- 1
- 3
0
votes
1 answer
What framework should I use to multi-label classification with thousands of labels
I'm working now on multi-label classification service and currently I have prepared training dataset. The problem is that current training dataset has a lot of different labels (around 80 000).
At first I tried BERT from Google through…

fliprs
- 47
- 1
- 6
0
votes
1 answer
F1 score for multiclass labeling cross validation
I want to get the F1 score for each of the classes (I have 4 classes) and for each of the cross-validation folds. clf is my trained model, X_test is the features and y_test the labels of the test set. Since I am doing 5-fold cross-validation, I am…

issuela
- 97
- 5
0
votes
0 answers
low accuracies with ML modules
I'm working with breast cancer dataset with 2 classes 0-1 and the training and accuracy was great, but I have changed the number of classes to 8 classes 0-7 and I'm getting low accuracy wit Ml algorithms but meanwhile the accuracy with ANN 97% maybe…

Mahmoud Odeh
- 942
- 1
- 7
- 19
0
votes
1 answer
Which model should I use? - Multi label classification
I am newbie on data science so my question might be basic.
I have a dataset. 1st column is comments of people about issues (as text), 2nd columns is class/labels of that failure (as text). There are many failure types on my 2nd column.
I want to…

lutthieen
- 31
- 1
- 1
- 2
0
votes
1 answer
How to get unknown class in multi-class' prediction?
I have a multi-class sentence classification problem and i want to achieve some sort of unknown class in prediction. There are n different labels and sometimes the sentence must not be classified or classified as unknown\None.
If you have some…

Mark D
- 95
- 2
- 8
0
votes
0 answers
Out of core learning for multi-label text classification problem
I am working on a multi-label text classification problem (Total target labels 90). The data distribution has a long tail and class imbalance. I am working with a sample of 100k records using the OVR strategy (One Versus Rest). Since the dataset is…

joel
- 1,156
- 3
- 15
- 42
0
votes
1 answer
Error when using one-hot encoded labels in sklearn GaussianNB
I have a dataset:
[['s002' ... 0.3509 0.2171 0.0742]
['s002' ... 0.2756 0.1917 0.0747]
['s002' ... 0.2847 0.1762 0.0945]
...
['s057' ... 0.2017 0.0983 0.0905]
['s057' ... 0.1917 0.0938 0.0931]
['s057' ... 0.1993 0.1186…

Mehmet Emin Yıldırım
- 75
- 1
- 7
0
votes
1 answer
Python - How to pull multi label text from a target file and put in proper order and hot one encode it?
I have 1500 png images and associated .txt files for each image that hold the multi-label values (1-7 values) for what is identified in each photo. The problem is that the labels are out of order with each image and one file could have 1 value and …

Jennifer Crosby
- 185
- 1
- 1
- 14
0
votes
2 answers
Bincount one-hot encoded labels
I have a set of one-hot encoded labels and I want to see how many I have of each category. Each label can contain one or more classes like this:
[1 0 0 0 0 0 0 1 0]
my first solution to the problem was to use np.argmax and…

bjornsing
- 322
- 6
- 25
0
votes
0 answers
Add 2 column vector to ndarray
Add binary labels to an array of shape (752, 227, 227, 3) where 752 is the number of images, images size is 227x227x3 with RGB channels.
I need to label the 752 images with class 1. I want class 0 to be represented as 2 columns with values [0,…

Boels Maxence
- 349
- 3
- 16
0
votes
1 answer
Plot all predictions of the model multi-label classification
I would like to plot my input and output of the model I am trying to train:
input data shape:
processed_data.shape
(100, 64, 256, 2)
How it looks like:
processed_data
array([[[[ 1.93965047e+04, 8.49532852e-01],
[ 1.93965047e+04, …

saraherceg
- 331
- 2
- 12
0
votes
1 answer
skmultilearn MLARAM raises Keyerror: 0
I recently discovered MLARAM classifier by Fernando Benites ; Elena Sapozhnikova. When trying to evaluate this classifier on a set of 11.000 documents. I used updated documentation from…

Florian Schramm
- 333
- 3
- 15
0
votes
1 answer
tensorflow multilabel classification - Incompatible shapes: [7,5] vs. [7]
I'm trying to create a multi-label classifier and have ran into an issue. I have 5 classes and am getting stuck when trying to train the network, I am relatively new to machine learning and this is the first multi-label classifier I've built.
My…

Faffy
- 63
- 1
- 9
0
votes
1 answer
How to multi-label classify movies to film festivals based on its metadata, where the metadata is predominantly individual words?
I have created a data-set of various movies produced in the past few years, technicians worked for the film, genre, country it represented, runtime, language, the respective film festival that film has won, etc.
the data-set is similar to this, it…

Suchit Y
- 13
- 1