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
1 vote
1 answer
24 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 = \...
user avatar
  • 13
0 votes
0 answers
12 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 ...
user avatar
0 votes
0 answers
19 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 ...
user avatar
  • 13
0 votes
0 answers
9 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 ?
user avatar
1 vote
1 answer
34 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 | ...
user avatar
  • 43
0 votes
0 answers
7 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 ...
user avatar
1 vote
1 answer
28 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/...
user avatar
  • 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 ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
1 vote
0 answers
25 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: ...
user avatar
3 votes
0 answers
27 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 ...
user avatar
1 vote
1 answer
14 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 ...
user avatar
0 votes
1 answer
27 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 ...
user avatar
  • 143
1 vote
1 answer
28 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 ...
user avatar
1 vote
1 answer
31 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 ...
user avatar
  • 11
1 vote
1 answer
35 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: ...
user avatar
  • 111
0 votes
1 answer
44 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 ...
user avatar
  • 497
0 votes
1 answer
37 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: ...
user avatar
  • 257
-1 votes
1 answer
18 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 ...
user avatar
  • 1
0 votes
1 answer
61 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 ...
user avatar
1 vote
1 answer
38 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 ...
user avatar
0 votes
1 answer
18 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: ...
user avatar
0 votes
0 answers
19 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 ...
user avatar
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)...
user avatar
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 ...
user avatar
1 vote
0 answers
52 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 ...
user avatar
  • 11
0 votes
0 answers
30 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 ...
user avatar
  • 161
0 votes
0 answers
83 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. ...
user avatar
2 votes
1 answer
44 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: ...
user avatar
  • 121
1 vote
0 answers
38 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 ...
user avatar
0 votes
0 answers
56 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: ...
user avatar
0 votes
1 answer
56 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 ...
user avatar
0 votes
0 answers
27 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 ...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
  • 33
2 votes
2 answers
298 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 ...
user avatar
  • 21
0 votes
0 answers
20 views

Precision and Accuracy of a custom Object Detection Models usind networks from TensorFlow Model Zoo

I am trying to develop a model with three classes. To do so, I tried to develop a model with different combinations of the data samples in each class. For example: the $1^{st}$ model has 500 images ...
user avatar
  • 1
1 vote
2 answers
85 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 ...
user avatar
  • 466
2 votes
0 answers
41 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 ...
user avatar
0 votes
0 answers
14 views

change the value of the minimum of each row which satisfy condition

I have a tensor in which each row contains a value between 0 and 1. I am doing a multi-label classification and I change each value which is greater than 0.5 to 1 and else 0. (tensor > 0.5) The ...
user avatar
0 votes
0 answers
6 views

Ensemble/combining models weighted by number of observations?

Across a few different projects, I have hit a problem where I have two (or more) models: General-Purpose Model: A model which is based on a large amount of data not specifically relevant to my ...
user avatar
  • 101
0 votes
0 answers
29 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 ...
user avatar
  • 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 ...
user avatar
0 votes
0 answers
39 views

LSTM or GRU for Time-series Multilabel classification

Univariate time series data with only one feature vector (e.g. 1x1300 as a time step), a superposition or sum of different signals, should be disaggregated or ...
user avatar
  • 1
0 votes
1 answer
48 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 ...
user avatar
0 votes
0 answers
21 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 ...
user avatar
1 vote
0 answers
47 views

Predicting probabilities in Neural Networks

I have 1000 number of inputs in a sample each ranging between 0-1 as shown: ...
user avatar
  • 111
1 vote
0 answers
22 views

How to figure out what elements are missing from a set, based on other sets?

I would like to solve a problem where I have a set of sets of possible values, but some elements of some sets are corrupted/deleted, so I had to figure out what is the most probable candidate ...
user avatar
  • 867
1 vote
1 answer
14 views

Classifying visual environment in Tensorflow CNN (video analytics)

I am given a selection of videos of users exploring simulated 3D enviroments (kind of looks like the Sims video game) and I am tasked with being able to classify each room using a tensorflow framework....
user avatar
0 votes
0 answers
17 views

How to utilize the multilabel calssification labels during the course of training

I have a data set that consists of images. I am trying to perform multi-label classification on this data set. But the training labels consist of too many labels which are CSV file format. Now I find ...
user avatar
0 votes
1 answer
38 views

How many training data should I use in multilabel classification?

Now I'm using Keras to implement a multi-label classification model. Specifically, I want to classify who present in an audio clip (maximal 8 people). The label of data has 8-bit, for example, [0,1,0,...
user avatar
  • 3

1
2 3 4 5 6