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
0 answers

Different accuracy using Keras on training set

I am training a multi-lable classification model on keras, after 10 epochs it's showing 91.80% accuracy on training set and 86.95% on validation set. When I am testing the same training set using model's predict method I am getting different(78%)…
0
votes
1 answer

What is IndexError: column index (383) out of bounds

I am solving a numeric Multi label classification problem while fitting the model. I had checked my columns if there is any problem i did not found any problem with features or class labels enter code here X_train, X_test, y_train, y_test =…
0
votes
1 answer

Evaluating DNNClassifier for multi-label classification

I am using tensorflow DNNClassifier for multi label classification, which uses accuracy as it uses its metric. I am evaluating the model using sklearn f1 metric, which is showing quite low score. Also score from sklearn accuracy is low. Is my…
0
votes
1 answer

str' object has no attribute 'load_img'

I wanted to load all the images from a folder and make predictions on those images this is what i tried images = [] folder_path="C:/Users/Harsh/Desktop/Ornithopter/anv/train/images/" for img in os.listdir(folder_path): img =…
0
votes
1 answer

Multilabel classification of a sequence, how to do it?

I am quite new to the deep learning field especially Keras. Here I have a simple problem of classification and I don't know how to solve it. What I don't understand is how the general process of the classification, like converting the input data…
0
votes
0 answers

There's a problem with sigmoid use in multi-label image classification

Multi-labeled image classification using 'inception resnet v2' model. I'm changing the required part to a sigmoid. Beyond a certain number of studies, it shows results such as softmax. The code is part of the 'inception resnet v2' in use. def…
0
votes
1 answer

how to get labels in multilabel facial recognition

I used the ImagedataGenerator and flow from directory to train a CNN model for the task and saved into a .h5 file. While prediction the logits or an array of numbers are being displayed and not the labels. I need the labels to be displayed while…
0
votes
1 answer

Multi Label Text Data Visualization

I have multi-label text data. I want to visualize this data in python in some good graph to get an idea how much overlapping exist in my data and also wanted to know if there is any pattern exist in overlapping like when 40% of times class_1 is…
0
votes
1 answer

Is that possible to get only 0 and 1 For multiclass multilabel problem in tensorflow.keras.models.Sequential.predict?

Let's say I have 3 classes, and each sample can belong to any of those classes. The labels look like this. [ [1 0 0] [0 1 0] [0 0 1] [1 1 0] [1 0 1] [0 1 1] [1 1 1] ] I set my output as Dense(3, activation="sigmoid"),…
jl303
  • 1,461
  • 15
  • 27
0
votes
0 answers

Multilabel number classification TensorFlow

I´d like to have this kind of an app. I have an ArrayList1<1,2,3,4,5,6,7,8,9,10...> Each unique number from ArrayList1 is feature in my model. Now I have another ArrayList2<6,7,8,9,10,11,12,13,15,16..>. This ArrayList2 will be labels, but it´s…
NewbieML
  • 11
  • 1
0
votes
0 answers

ML classification, how to handle a cell that has 2 information?

So i have a situation that i couldnt get out. Im pretty new to machine learning and its community. Im trying to make a classification model but here is my problem: So lets say i have 2 of X (variables; text or integers) columns and 1 Y (which im…
0
votes
0 answers

confusion matrix and test accuracy in multi-label image classification for keras

I'm trying to learn multi-label classification using Keras. The dataset is Robotic Instrument (for kidney surgery) classification with 11 classes. I built a model for a multi-label classification problem and able to evaluate model performance.…
Sarah K
  • 63
  • 10
0
votes
1 answer

Multilabel with binary classification in Keras

At this moment, i working with image classification using Keras, sci-kit learn, etc. I will try to explain all the problem. Like i said before, it's an image classification with multilabel. My dataframe contain 4000 microscopic oil samples, and the…
0
votes
1 answer

Train and validation score is high but very Poor Test Accuracy

I am working on multi-label image classification, i am using inception net as my base architecture. after the complete training i am getting, training accuracy > 90% and validation accuracy > 85% but i am getting 17% accuracy on test data. Model…
0
votes
2 answers

Using DNNLinearCombinedEstimator in tensorflow for multilabel classification

I have a multilabel dataset that I would like to use a wide-n-deep neural network to classify the samples. This is a very small example just to test: import numpy as np import pandas as pd import tensorflow as…