Questions tagged [multilabel-classification]

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.

844 questions
0
votes
1 answer

Multi-label classification using SVM for text data

I have data in an excel file that I need to use to perform multi-label classification using SVM. It has two columns as shown below. 'tweet' - A,B,C,D,E,F,G and 'category' = X,Y,Z tweet category A X B Y C Z D X,Y E …
0
votes
2 answers

Multilabel classification neural network, any one label

I am trying to figure out to build a neural network in which let's say I have 3 output labels (A, B, C). Now my data consist of rows in which 2 of the labels can be 1. Like A and B will be 1 and C will be 0. Now I want to train my neural network…
0
votes
1 answer

how to map the results obtained after multiclass classification to 1 and 0

I am working on image classification for cifar data set.I obtained the predicted labels as output mapped from 0-1 for 10 different classes is there any way to find the class the predicted label belongs? //sample output obtained array([3.3655483e-04,…
0
votes
1 answer

sklearn classification with multiple label output

Hi I am studying AI to build chatbot, i am testing now classification with sklearn, i manage to get good results with following code. def tuned_nominaldb(): global Tuned_Pipeline pipeline = Pipeline([ ('tfidf',…
0
votes
1 answer

Multi-target having dependent variables as both classification and regression?

I have two inputs as my independent variables and I want to predict 3 dependent variables based on it. My 3 dependent variables are of 2 multi-categorical classes and 1 is of continuous values. Below is my target variables. typeid_encoded,…
0
votes
1 answer

Masking NA in Keras multilabel Regression

I am trying to build a multilabel regression model with Keras. The labels have a number of NA values, i.e. not all instances were tested for all label. Here's a sample of my code: import numpy as np import pandas as pd from sklearn.datasets import…
Anderlecht
  • 475
  • 5
  • 17
0
votes
1 answer

MEKA: Evaluation failed(CV): java.lang.ArrayIndexOutOfBoundsException:-1

MEKA is the open source machine learning framework. I have a created a *.arff file for text contents for solving the multi-label classification. But I couldn't execute the data. I am getting the following error when I run the Binary relevance based…
Ashok Kumar Jayaraman
  • 2,887
  • 2
  • 32
  • 40
0
votes
1 answer

How to get correct acccuracy for multi label prediction?

I am trying to get a tensorflow network that does multi-label predictions. Using softmax with one-hot (single label) predictions works correctly. The accuracy get's calculated perfectly and the network learns as it should. My basic network setup…
Peterdk
  • 15,625
  • 20
  • 101
  • 140
0
votes
1 answer

How to perform a multi label classification with tensorflow in purpose of auto tagging?

I'm new to tensorflow and would like to know if there is any tutorial or example of a multi-label classification with multiple network outputs. I'm asking this because I have a collection of articles, in which, each article can have several tags.
0
votes
0 answers

Pandas DataFrame :Transforming integer categories for binary classification

I have a pandas dataframe with 10 columns and I want to perform binary classification in such a way that SVC or any other classification algorithm can decide to which category a given intensity value belongs to. mzmin mzmax rtmed rtmax Sample 1 …
0
votes
1 answer

Mutli-class classification in python

I am in the process of converting a binary classification problem to multi-label classification program. The code is written in python. The below is the existing code: positive_labels = [[0, 1] for _ in positive_examples] negative_labels = [[1, 0]…
0
votes
0 answers

R package mlr Multilabel Text Classification: how to classify new data

I found this code in a tutorial about multilabel classification with package mlr. library("mlr") yeast = getTaskData(yeast.task) labels = colnames(yeast)[1:14] yeast.task = makeMultilabelTask(id = "multi", data = yeast, target = labels) lrn.br =…
WinterMensch
  • 643
  • 1
  • 7
  • 17
0
votes
0 answers

Multi Label Classification on Data Columns in Tables

I am seeking guidance on a machine learning problem involving the tagging of data columns. Currently, I have a system where users can add multiple tags to a columns in a table. However, I want to automate the tagging of new columns by using Multi…
0
votes
1 answer

Keras GridSearchCV using metrics other than Accuracy

Q1: Why keras gridsearchCV does not allow using metrics other than "Accuracy". Like I want to use: categorical_accuracy in place of accuracy. Q2: How does this accuracy work for one-hot-encoded data as I am giving…
0
votes
2 answers

tf.nn.sigmoid_cross_entropy_with_logits does it share weights?

I am planning to use tf.nn.sigmoid_cross_entropy_with_logits for creating N binary classification models. I want these N models to be independent binary models and not share weights? Can I achieve it using this function?