Questions tagged [multiclass-classification]

776 questions
0
votes
1 answer

Pattern recognition / Data classification

I am developing a project in which I must analyze a considerable amount of data. It is a monitoring system in real time, which is applied to electrical equipment. The situation is this: In an imaginary scenario, I will have a vector such as: [1.4,…
Edgar Pisxid
  • 79
  • 2
  • 12
0
votes
2 answers

Do generative adversarial networks require class labels?

I am trying to understand how a GAN is trained. I believe understand the Adversarial training process. What I can't seem to find information on is this: do GANs use class labels in the training process? My current understanding says no - because the…
0
votes
0 answers

How do I train the VGG network when multiple classes are present in one training example?

I recently switched to TFlearn to get some calculations on my network accuracy for classifying images and creating state of the art results. I am using this exact file from TFlearn, except for the dataset. I wanted to reproduce the accuracy for the…
0
votes
1 answer

Searching for list of terms using Google in order to build a bag-of-words for a particular category

I am having a hard time understanding the process of building a bag-of-words. This will be a multiclass classfication supervised machine learning problem wherein a webpage or a piece of text is assigned to one category from multiple pre-defined…
0
votes
1 answer

Error when checking target: expected dense_20 to have shape (None, 3) but got array with shape (1200, 1)

With VGG 16 using Keras, I'm trying to run a three class classification problem and here is the code: import numpy as np from keras.preprocessing.image import ImageDataGenerator from keras.models import Sequential from keras.layers import Dropout,…
shiva
  • 1,177
  • 2
  • 14
  • 31
0
votes
1 answer

Is nearest centroid classifier really inefficient?

I am currently reading "Introduction to machine learning" by Ethem Alpaydin and I came across nearest centroid classifiers and tried to implement it. I guess I have correctly implemented the classifier but I am getting only 68% accuracy . So, is the…
0
votes
2 answers

how to use multiclass.au1p measure in mlr

I am trying to use multiclass.au1p measure in mlr package. It gave me an error saying Error in FUN(X[[i]], ...) : Measure multiclass.au1p requires predict type to be: 'prob'! When I tried to set the predict type to prob then it gave me an…
Roshana
  • 357
  • 1
  • 3
  • 17
0
votes
1 answer

Convert data frame to mldr object to use in BR algorithm

I am using BR algorithm for multi label prediction. I need to convert the test data to MLDR object. But I fail to do so, because test data does not have outcome column. I use mldr_from_dataframe(dataframe, labelIndices, attributes, name) for the…
0
votes
1 answer

Creating and tesing a classifier

I have a two columns in an excel file. Row 1 has the exact user input, and row 2 has its cause. e.g. ROW 1 ROW 2 money deducted cause 1 delivery is late cause…
0
votes
0 answers

Multi-label classification sklearn

I'm new to sklearn and machine learning. I have a csv file containing the mappings of the following type: ID-2001-0001, ID-category_1 ID-2002 - 0002, ID-category_2 . . I have some 1010 unique ID's and 123 unique categories. Now, I wish to classify…
0
votes
1 answer

Spark Multiclass Classification using python

I am trying to implement Multiclass classification using pySpark, I have spent loads of time searching the web, and I have read that it is possible now using Spark 2.1.0. I have generated my own dataset with all-numerical features and I have…
0
votes
1 answer

Predicting next destination. What type of classification it is?

I have a very different machine learning problem. Or atleast I am facing such problem for 1st time. It would be really great if u can guide me to solve it. I have 3 data sets as follow: hotel star_rating 1 3 2 …
0
votes
0 answers

Calculation of Accuracy for Each Class for Multi class classification

I am working on Multi-Class classification problem, where I have designed SVM classifier for 31 different classes After the classification process I got the predicted labels now I want to calculate the accuracy rate for each distinct class.…
-1
votes
0 answers

Cross-Entropy Loss stuck at local minima 2.3, accuracy stuck at 10%

I'm having problems with a multiclassification task, it is a feedforward neural network which should classify roghly 60.000 EEG input data in 10 classes. I have tried different neural network architecture but the loss always gets stuck at 2.3 and…
-1
votes
1 answer

Using Kaggle code/model to predict classifications for unseen dataset

I have obtained the following code along with a dataset from a Kaggle notebook: https://www.kaggle.com/code/danofer/predicting-protein-classification/notebook import pandas as pd import numpy as np from matplotlib import pyplot as plt import seaborn…
Rashid
  • 1,244
  • 3
  • 13
  • 29