Questions tagged [multilabel-classification]

Multilabel classification assigns to each sample a set of target labels. This can be thought as predicting properties of a data-point that are not mutually exclusive, such as topics that are relevant for a document. A text might be about any of religion, politics, finance or education at the same time or none of these.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Which model to use for multitarget classification with strong class imbalance and many categorical variables?

I have a small dataset 79 observations in 21 variables. Almost all the variables are categorical variables in the format yes/no or 1/2/3. I would like to predict jointly three of these variables ...
1 vote
0 answers
54 views

How do I Classify text data with multiple sub labels? [closed]

If I have data that was like this How can I train keywords and try to classify them into these labels what was the best algorithm to try this and labels are not limited to 4 might increase and some ...
0 votes
0 answers
27 views

The paradox of Imbalanced binary classification ¿To do something or to do nothing?

Context: Suppose we are interested in deploy a machine learning model to solve a problem of binary classification; furthermore, assume that the dataset $\mathcal{D}$ for the training of our model ...
0 votes
1 answer
24 views

We pose recommendation as extreme multiclass classification problem, what is a class here? is it video category? or the video itself?

In the Youtube video recommendation paper, the author talks about candidate generation is a multi class classification problem, I am trying to understand what the classes here, a video category or the ...
0 votes
1 answer
9 views

What is the effect Cross-Multi-Labeling/Annotation on learning process?

I have a philosophical question regarding training convolution neuronal network. I am work on training NN for purpose of detection of Window and Window blind. This is an issue of cross labels; that is,...
0 votes
1 answer
24 views

Beginner Question on Understanding Linear Classifier

I have been trying to understand the math behind Linear classifier for images and I'm hitting a roadblock to understanding this image below: I can to some extent agree that we stretch the pixels into ...
  • 137
0 votes
0 answers
22 views

Label network embedding as input features for multi-label classification

Leveraging correlation between labels is an essential aspect of multi-label classification. I am trying to figure out the best approach for incorporating label correlation information for my task. One ...
0 votes
0 answers
14 views

Hierarchical Dependent Multilabel Multiclass classification

I am aware of both multi-class and multi-label classification. But here is my use case, X1,X2,....Xn ==> Level1,Level2,Level3,Level4,Level5.. Image attached of a contrived example. So the model's ...
  • 13
2 votes
0 answers
28 views

Are more target labels in a multi-label classification always better?

Context We work on medical image segmentation. There are a lot of potential labels for one and the same region we segment. There can be different medically defined labels like anatomical regions, more ...
  • 121
1 vote
1 answer
122 views

Understanding SGD for Binary Cross-Entropy loss

I'm trying to describe mathematically how stochastic gradient descent could be used to minimize the binary cross entropy loss. The typical description of SGD is that I can find online is: $\theta = \...
  • 13
0 votes
0 answers
17 views

Text similarity for badly written text

Consider the following scenario: Suppose two lists of words $L_{1}$ and $L_{2}$ are given. $L_{1}$ contains just bad-written phrases (like 'age' instead of '4ge' or 'blwe' instead of 'blue' etc.). On ...
0 votes
0 answers
138 views

Multi-Label time-series classification with LSTM: large performance decrease for longer periods

I have daily data on event occurences, so for each day I have a vector like [1, 0, 1] indicating that on this day event one and three occured, but event two did not occur. I want to train a model to ...
  • 13
0 votes
0 answers
12 views

best way to convert labels

I need to convert label Win,Lose,Draw to continous number, thich is the best method to do it? Win=1 , Draw=2, Lose=0 ?
  • 163
1 vote
1 answer
44 views

Why is Word2vec regarded as a neural embedding?

In the skip-gram model, the probability that a word $w$ is part of the set of context words $\{w_o^{(i)}\}$ $(i= 1:m)$ where $m$ is the context window around the central word, is given by: $$p(w_o | ...
  • 43
0 votes
0 answers
58 views

Custom multi-label cross-entropy loss that boosts weight of particular errors

I am using XGBoost for a multi-label classification problem (objective is 'multi:softmax' in XGBoost). In my case there are 16 discrete output labels where only one is correct. However, depending on ...
1 vote
1 answer
35 views

Text to Text classification

I am new comer to the field of data science and have been struggling with a simple classification problem. It seems to be generic enough and I have a suspicion that there must be a better way to frame/...
  • 13
1 vote
0 answers
12 views

Methods for combining instance observations for classification

I am working on a project where I classify tiny moving particles into a few classes (fibers, hairs, glass shards, bubbles). The particles are only a few pixels large and are observed in a few frames ...
0 votes
0 answers
120 views

Classification metrics can't handle a mix of multilabel-indicator and multiclass targets

I am having a problem due to encoding of multiple categorical variables and building a multiclass classification model. I have extensively read and searched for a solution but I am clearly missing ...
1 vote
0 answers
63 views

Method for multi-label category classification

I’m working on a project that involves a Natural Language Processing methodology. I want to classify categories(label) to biomedical news articles (it can be multi-label) (For example, News 1: ...
3 votes
0 answers
30 views

Can we recognize different events in time-series data by patterns?

I'm currently have to deal with multiple time-series datasets with the same type of patterns. My quest is to find a way to label these data points (or may be intervals) correctly. Below is how the ...
1 vote
1 answer
16 views

Multi-label Classifier underperforms individual classifiers

I originally trained multiple individual binary classifiers for each label of an image. Then, I realized I can train a single multilabel model for this task. I used binary_cross_entropy loss for this ...
0 votes
1 answer
29 views

Conventional way of representing uncertainty

I am calculating metrics such as F1 score, Recall, Precision and Accuracy in multilabel classification setting. With random initiliazed weights the softmax output (i.e. prediction) might look like ...
  • 153
1 vote
1 answer
77 views

Class imbalance: Will transforming multi-label (aka multi-task) to multi-class problem help?

I noticed this and this questions, but my problem is more about class imbalance. So now I have, say, 1000 targets and some input samples (with some feature vectors). Each input sample can have label ...
1 vote
1 answer
41 views

Computing precision in case of multi-label classification

When evaluating a multi-label model for precision by averaging the precision of each sample, would it be appropriate to a) ignore those samples where no prediction is being made? Or is it more ...
  • 11
1 vote
1 answer
42 views

Predict indices of text using deep learning

I want to predict the start and end indices of text where a certain type of propaganda technique is used like smears, name-calling, loaded language etc. Some examples from the dataset are: ...
  • 111
0 votes
1 answer
181 views

Why do we need "MultiOutputClassifier" if we can get same results without it?

I am learning about multi-label multi-classification examples It is when you have a case like this ...
  • 517
0 votes
1 answer
194 views

How to train multioutput classification with hyperparameter tuning in sklearn?

I am working on a simple multioutput classification problem and noticed this error showing up whenever running the below code: ...
  • 289
-1 votes
1 answer
58 views

How to show combined overall accuracy for a multi-ouput model in Keras?

I have a model of the following structure. It has 6 outputs. Given an image, the model predicts classes of 6 different components from the image. The metrics I used are: As you can see it outputs an ...
  • 1
0 votes
1 answer
487 views

Multi-label one-hot encoding

So im having this paticular problem triying to do one hot encoding on multilabel data, the encoder is reading more classes than it should, and i dont know why. let me show you: Here's my data (17 ...
0 votes
1 answer
110 views

Transform multi-class problem to multi-label problem

I found this question but I need an answer to the other direction. Example: Let's say we want to predict if a person with a certain profile wants to buy product A and/or B. So we have 2 binary classes ...
0 votes
1 answer
24 views

How to multi label text Classification using Deep learning

I am new to the multi-label text classification using Deep learning, I have Data like this: ...
0 votes
0 answers
23 views

How to label motion video data?

I am building an Arabic sign language dataset. How to label many frames of a video to detect the full motion? (like the following gif) So when I do it again the model understands the sign I only ...
2 votes
1 answer
34 views

Some questions about supervised learning, model evaluation and preprocessing [closed]

I've been trying to employ some basic techniques of supervised learning on a dataset that I have and I have several questions about the overall procedure (i.e. data preprocessing, model evaluation etc)...
0 votes
0 answers
31 views

A data in which an employee id is given in multiple months and many categorical features are there. To predict future retention. Recommend what to do?

I have this dataset in which we have to predict the retention of employees,i.e. how much will an employee stay in a company? This seems easy but the main obstruction here is that the same employee_id ...
1 vote
0 answers
94 views

Error when trying to predict BERT model and obtaining classification report [closed]

I am following this tutorial about multi-label, multi-class classification using BERT. I am trying to get the predicted classification for y_pred, but when running ...
  • 11
0 votes
0 answers
34 views

Using sequences for multilabel classification

I have a sequential dataset of events, which looks like the following: ['some text here', 'more text here'] -> target Each datapoint is a true sequence ...
  • 161
0 votes
0 answers
111 views

under sampling the dataset of multi-label classifiction

I have a multi-label dataset, whose label distribution looks something like this, with label on x-axis and number of rows it occurs in the dataset in y-axis. ...
2 votes
1 answer
86 views

Do I need a multilabel classification machine learning methodology or is it unnecessary?

Introduction I’m working on a social science research project that involves a Natural Language Processing methodology. I’m assigning multiple labels (For example, label 1: ...
  • 121
1 vote
0 answers
39 views

How to handle unclassifiable data in the dataset

Premise: Classification problem Input is three text fields Output classes are A, B, A&B (Note: A and B are not always exclusive though usually are, hence the 'A&B' class) Sci-Kit Learn is the ...
0 votes
0 answers
65 views

Predict multiple labels when labels are of mixed type: floating point and categorical

I was provided with a data file which looks like this: ...
0 votes
1 answer
93 views

Two-level (large category and small category) label classification problem

At present, there is an app classification task, the input is the function description of the app, and the two labels are the major category to which the app belongs and the small categories under the ...
0 votes
0 answers
37 views

How to determine a good architecture for multilabel classification

I am working on an university project that requests us to classify Wikipedia abstracts about people by their professions. The output shall be a JSON file that assigns each Wikipedia abstract to a set ...
1 vote
2 answers
3k views

What is the difference between LabelBinarizer and MultiLabelBinarizer?

I am trying to understand the difference between the two label encoding techniques for output variable. I have read things but still can't get a clear picture as what makes them different. Also can we ...
  • 33
2 votes
2 answers
574 views

train-tests split for extreme multilabel classification

I have an extreme multilabel dataset that contains thousands of labels, each label exists at least 10 times. What is the best way to split the data in a stratified way? I tried the ...
  • 21
1 vote
2 answers
187 views

OneVsRest Classification why do the probabilites sum to 1?

I am using OneVsRest Classifier in sklearn. So a multilabel model, 4 models for each class (i have 4 classes). When i called the predict_proba method i therefore get an array with 4 columns each one ...
  • 486
2 votes
0 answers
47 views

Shuffling data yields significantly worse performance

Edit: I've experimented a few times, shuffling the data at various steps. It seems that as long as I restart the python kernel and reset the dataframe indices, the performance is good. I'm still not ...
0 votes
0 answers
39 views

Multi-Label Regression of Categorical Probability Distribution that adds up to one

What would an ideal Tensorflow/Keras architecture look like, if the target is a multi-regression with values that add up to one? Toy Example: Tv Channels You work for a big TV-Station and your boss ...
  • 101
0 votes
0 answers
22 views

Searching for implementations of multilabel feature selection

Does anyone know of any packages that implement multilabel feature selection algorithms? There are many papers introducing algorithms, but few if any seem to be implemented publicly. I have been able ...
0 votes
1 answer
128 views

What are the options/best practices for encoding categorical features for multilabel classification?

I am working on a multilabel classification problem with both continuous and categorical features. For a single label problem, I might make use of a supervised encoder for my categorical features such ...
0 votes
0 answers
33 views

What are the best ways to balance the classes in multilabel classification?

I have around 1000 rows of data with 9 labels. Each label can be either 1 or 0. Out of 9 labels I have 1 label which has 600 1s , 3 labels which have around 300 1s rest are having around 50 1s. I ...

1
2 3 4 5 6