837 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
99
views
HalvingGridSearchCV cannot fit multi label DecisionTreeClassifier
I'm trying to use HalvingGridSearch to find the best DecisionTree model. My model performs a multi-label prediction on a single example, it is trained on a batch of data of size (n_samples x ...
-3
votes
2
answers
176
views
Loss function for Multi-Label Classification of multiple labels and sparse outcomes [closed]
Consider the Multi-Label Classification with ANN where the targeted labels were of the form
[0,0,0,0,0,1,0,1,0,0,0,1]
[0,0,0,1,0,0,0,0,0,0,0,0]
...
There were N labels each of True(1) or False(0) ...
0
votes
0
answers
69
views
VotingClassifier only supports binary or multiclass classification. Multilabel and multi-output classification are not supported
I got an error about KerasClassifer and VotingClassifer.
At the first, I used MNIST dataset and split it then fit xtrain and ytrain by Voting classifer. If I put their estimator type into Classifier ...
0
votes
1
answer
239
views
Why is my BERT model producing NaN loss during training for multi-label classification on imbalanced data?
I’m running into a frustrating issue while training a BERT-based multi-label text classification model on an imbalanced dataset. After a few epochs, the training loss suddenly becomes NaN, and I can’t ...
0
votes
1
answer
124
views
Inconsistent numbers of samples error in multi-class / multi-label machine learning model
I have a OneVsOne model running fine with textual feature and target fields. To progress to a multi-class model (i.e. with multiple textual feature fields), I believe OneVsRest with Logistic ...
0
votes
1
answer
173
views
How to Create a Multilabel Confusion Matrix for 14 Disease Classes in PyTorch?
I’m working on a multilabel classification task with 14 different disease classes. I’ve trained my model, and I want to generate a single multilabel confusion matrix where both the x-axis and y-axis ...
0
votes
0
answers
38
views
predicting parent class based on the prediction of the subclasses
I work on an action recognition task and I want based on the prediction of subclasses ‘action_name’ and ‘priority’ to predict the parent class ‘Diagnosis’
the script I used was inspired by this ...
0
votes
0
answers
57
views
How can I preprocess a feature that contains a list of number codes?
I have to preprocess a feature which is basically a list of number codes enocoded as a string, and I want to encode it such that the output is an array of frequencies of each of these numbers. The ...
1
vote
1
answer
38
views
MultiLabelBinarizer: inverse_transform How can get a list of labels sorted according to their probability?
I am doing a multi label classification and I use MultiLabelBinarizer to translate the list of labels into Zeros and Ones.
I could get the Labels using inverse_transform which is super. However, in a ...
-1
votes
1
answer
44
views
Which hyperparameters should I adjust to improve accuracy?
I would like to know how to increase the accuracy score and lower the loss in a multilabel classification problem.
If you look at the sklearn reference, there is a mention of multilabel in Multiclass ...
1
vote
0
answers
90
views
How to implement class or sample weight sampling in multi label classification?
I'm currently working on a multi-label image classification problem where my dataset is significantly imbalanced. Each image in my dataset can have multiple labels. The labels are provided in a one-...
0
votes
0
answers
115
views
How can I implement regression after multi-class multi-label classification?
I have a dataset where some objects (15%) belong to different classes and have a property value for each of those classes. How can I make a model that predicts multi-label or multi-class and then make ...
0
votes
1
answer
593
views
PyKan Code not working even after following the documentation code for Example 3: Classification
I followed the code exactly on the PyKan documentation, however it kept giving me this error:
description: 0%| | 0/20 [00:00<?, ?it/s]
---...
0
votes
1
answer
51
views
Low Accuracy and High loss while training a neural network model
I am working on an admission prediction system which uses ANN. I am having high loss while training my model. Below is the necessary information related to the dataset and model.
Dataset:
for col in ...
0
votes
0
answers
171
views
Shape mismatch. The variable shape (1, 1, 256, 512), and the assigned value shape (512, 128, 1, 1) are incompatible
I'm running this code and I have adjusted as shown below:
import requests
//first block
import requests
url = 'https://github.com/fchollet/deep-learning-models/releases/download/v0.2/...