The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [classification]

For questions related to the placement of individual cases into categories, such as is essential in fraud detection, spam detection, quality control, prediction of user or market responses, automated organizing or indexing, assigning objects in view to types of obstacles or risks, writing or typing recognition, phonic recognition, .

Filter by
Sorted by
Tagged with
3
votes
1answer
38 views

How do I determine the most appropriate classifier for a certain problem?

Consider a Bayesian classifier used in spam e-mail filtering. It converts an e-mail to a vector, most of the time using the bag-of-words method. Although it learns first before getting employed, it ...
1
vote
1answer
17 views

Are there deep networks that can differentiate object class from individual object?

We usually categorize objects in a hierarchy of classes. Let us say crow vs bird. In addition, classes can be "messy", for instance a crow can be also a predator, but not all birds are predators. My ...
1
vote
1answer
29 views

Why is image classification tasks are dominated by minimizing cost function instead of maximizing ones?

I was watching a video of policy gradient by Andrej Karpathy at 10:00 there shows an equation for supervised learning for image classification. $max\sum _{i}log \:p(y_i|x_i)$ I have worked with ...
0
votes
0answers
7 views

Multiple digits classifier using MobileNetV1

I want to train a model to be able to classify 16 number of digits in image, the numbers of digits are constants. So I create my dataset like these images (Print random 16 number with different font ...
1
vote
1answer
26 views

How to use a deep learning network on new data-set?

I am trying to use a network for classification. This network works very well on the author's example data, but doesn't work on new data. Currently, I am using the popular EEG Motor Movement/Imagery ...
0
votes
1answer
45 views

TF Keras: How to turn this probability-based classifier into single-output-neuron label-based classifier

Here's a simple image classifier implemented in TensorFlow Keras (right click to open in new tab): https://colab.research.google.com/github/tensorflow/docs/blob/master/site/en/tutorials/quickstart/...
1
vote
0answers
15 views

Trying to separate spiral data with neural network, learning tensorflow

I am learning how to use tensorflow without keras, just to make sure I understand tensorflow directly. I created a spiral-looking datasets with 100 points of each class (200 total), and I created a ...
0
votes
0answers
7 views

Fusing label distribution and on-hot encoded labels

A while ago I came across a paper for image classification that utilized both label distribution and one-hot encoded labels to classify images. An image has a label distribution for all classes (4 ...
0
votes
0answers
58 views

What to do when an image classifier does good for a class but bad for another?

So I wrote a convolutional neural network for a binary image classification. I have around 5300 images for each class which I thought would be enough to at least give me a good accuracy on the ...
3
votes
1answer
42 views

Can a model, retrained on images classified previously by itself, increase its accuracy?

Let's assume I have a CNN model trained to categorize some objects on the images. By using this model I find more categorized images. If I now retrain this model on data set that consists old set and ...
0
votes
1answer
19 views

How to change this RNN text classification code to become text generation code?

I can do text classification with RNN, in which the last output of RNN (rnn_outputs[-1]) is used to matmul with output layer weight and plus bias. That is getting a word (class name) after the last T ...
2
votes
1answer
23 views

What is the best way to find the similarities between two text document

The Problem I would like to develop a platform which people will write text and upload images. I am going to use Google API to classify the text and extract from the image all kind of meta data. In ...
0
votes
1answer
31 views

Maximum Likelihood Classifier vs. Bayesian Network

I am confused in understanding the Maximum Likelihood as a classifier. I know what is Bayesian network and I know that ML is used for estimating the parameters of models. Also, I read that there are ...
1
vote
0answers
28 views

Indian Traffic Sign Dataset

I am looking for the Indian Dataset of traffic signs. There is a dataset developed recently IDD: A Dataset for Exploring Problems of Autonomous Navigation in Unconstrained Environments which contains ...
0
votes
0answers
14 views

Probabilistic classification - normalize results

I have a probabilistic classifier that produces a distribution over my 3 classes - C1, C2, C3. I want to compare some new points I'm classifying to each other, to see which one is the best fit for a ...
0
votes
1answer
64 views

Should I use single or double view for gender recognition?

My project requires gender recognition of people shown on the given images, with more than one person per image. However, these people can be positioned in frontal or side view(passing by ...
3
votes
2answers
99 views

Why not use the MSE instead of the current logistic regression?

When watching the machine learning course on Coursera by Andrew Ng, in the logistic regression week, the cost function was a bit more complex than the one for linear regression, but definitely not ...
2
votes
1answer
48 views

Video engagement analysis with deep learning

I am trying to rank video scenes/frames based on how appealing they are for a viewer. Basically, how "interesting" or "attractive" a scene inside a video can be for a viewer. My final goal is to ...
0
votes
1answer
15 views

Solution to classify product names

I have a bunch of training data for classifying product names, around 30,000 samples. The task is to classify these product names into types of product, around 100 classes (single words). For example:...
1
vote
1answer
38 views

TensorFlow estimator DNNClassifier fails to fit simple data

The ready-to-use DNNClassifier in tf.estimator seems not able to fit these data: ...
0
votes
0answers
10 views

A NN based model of a Cattle for 'Heat Detection'

I am very new to AI/ML but have lot of interest in these. I am trying to understand how this gadget works. So far I have understood that a NN model of the cattle is generated by offline ...
1
vote
1answer
43 views

Is there a theory behind which model is good for a classification task for the convolutional neural network?

Let say I'm trying to apply CNN for image classification. There are lots of different models to choose and we can try an ensemble, but given a limit amount of resources, it does not allow to try ...
2
votes
0answers
39 views

Grouped Text classification

I have thousands groups of paragraphs and I need to classify these paragraphs. The problem is that I need to classify each paragraph based on other paragraphs in the group! For example, a paragraph ...
1
vote
1answer
13 views

Should I model a problem with quantised output as classification or regression?

Say I have some data I am trying to learn, and I'm aware that the output is quantised in some way, e.g. I can get only get discrete values (0.1, 0.2, 0.3...0.9) in a finite range. Would you treat ...
0
votes
1answer
121 views

Can an object's movement (instead of its appearance) be used to classify it?

I know that it is very common for machine learning systems to classify objects based on their visual features such as shapes, colours, curvatures, width-to-length ratios, etc. What I'd like to know ...
1
vote
0answers
62 views

Is this a classification problem?

I’m not really sure which machine learning approach is best for my problem at hand. I work in an engineering company that designs and builds different kinds of ships. In my particular job, I collect ...
1
vote
1answer
20 views

Obtain the most important input data for binary classification on a neural network

I have a simple neural network for binary classification. Input features into this network include: age, sex, economic_situation, illness, disability, etc. and the output is simply 1 and 0 I would ...
2
votes
1answer
53 views

Which loss function should I use for binary classification?

I plan to create a neural network using Python, Keras and TensorFlow. All the tutorials I have seen so far are concerned with image recognition. However, the goal of my program would be to take in 10+ ...
2
votes
1answer
65 views

Can I train a neural network incrementally given new daily data?

I would like to know if it was possible to train a neural network on daily new data. Let me explain this more in detail. Let's say you have daily data from 2010 to 2019. You train your NN on all of it,...
1
vote
0answers
12 views

Binary annotations on large, heterogenous images

I'm working on a deep learning project and have encountered a problem. The images that I'm using are very large and extremely detailed. They also contain a huge amount of necessary visual information, ...
2
votes
0answers
13 views

Product Configuration based on user selection of features and other requirements

Is this a scenario that would work well for a ML/Pattern Recognition Model or would it be easier/faster to just filter from a large DB. I am looking to create a system that will allow users to ...
1
vote
1answer
44 views

How does the CTC loss work?

I am trying to implement CTC loss in Tensorflow, but their documentation is pretty limited. So I am not sure how to approach the problem. I found a good example in Theano: https://github.com/...
2
votes
0answers
28 views

How does FastText support online learning?

I'm using FastText pre-trained-embedding for tackling a classification task, but I saw it supports also online training (incremental training) for adding domain-specific corpus. How does it work? ...
0
votes
1answer
42 views

How do I classify strings with possibly no meaning?

I am quite new to text classification. Using EAST text detection model, I get multiple strings that aren't words and most often have no meaning. For example, IDs, brand names, etc. I would like to ...
0
votes
1answer
30 views

Is there any way to classify Document Image without OCR?

I have multiple invoices images which need to classify invoice types such as fright, utility, goods, etc. Is there any way to classify without OCR?
2
votes
2answers
50 views

Which online machine learning technique to use for multi-class classification problem with multiple inputs?

I have the following problem. We have $4$ separate discrete inputs, which can take any integer value between $-63$ and $63$. The output is also supposed to be a discrete value between $-63$ and $63$. ...
0
votes
1answer
60 views

How can I stabilise a recurrent neural network used for binary classification?

I’m looking for some help with my neural network. I’m working on a binary classification on a recurrent neural network that predicts stock movements (up and down) Let’s say I’m studying Eur/Usd, I’m ...
2
votes
0answers
60 views

How to choose our data set wisely?

I have a couple of questions and I was wondering if you could answer them. I have a bunch of images of the cars, side view only. I want to train the model with those images. My objects of interest ...
2
votes
1answer
39 views

Decreasing Loss, Constant Accuracy

Problem Statement I've built a classifier to classify a dataset consisting of n samples and four classes of data. To this end, I've used pretrained VGG-19, pretrained Alexnet and even lenet (with ...
1
vote
1answer
40 views

Do I need to use a pre-processed dataset to classify comments?

I want to use Machine Learning for text classification, more precisely, I want to determine whether a text (or comment) is positive or negative. I can download a dataset with 120 million comments. I ...
2
votes
1answer
55 views

How do I classify an image that contains only polygons?

I have two closed polygons, drawn as connected straight black lines on a white background. I need to classify such images in to three forms Two separate polygons One polygon encloses the other The ...
2
votes
0answers
34 views

Can GANs be used to generate matching pairs to inputs?

I have some limited experience with MLPs and CNNs. I am working on a project where I've used a CNN to classify "images" into two classes, 0 and 1. I say "images" as they are not actually images in the ...
0
votes
0answers
10 views

Training Haar Cascade model with grey vs color images

Most examples if not all, are models that have been trained with images that are turned grey. Does this mean that models only detect edges? Why wouldnt you want to keep color so that model could learn ...
3
votes
2answers
60 views

Are there tools to help labelling images?

I need to manually classify thousands of pictures into discrete categories, say, where each picture is to be tagged either A, B, or C. Edit: I want to do this work myself, not outsource / crowdsource ...
1
vote
0answers
23 views

Would this NN for my chip outputs work?

I'm a grad student from EE. So, basically, there's an electrical circuit that is supposed to output "0" or "1" by exactly 50 to 50 chance. It generates a number of big arrays of 0s and 1s, each of ...
0
votes
1answer
37 views

How to identify whether images contain driver's licenses or ID cards

Suppose I have a lot of scans of hardcopy documents, in the form of jpegs. Some of them are potentially scans of driver's licenses or identification cards. I wonder what would be a good way to ...
1
vote
1answer
71 views

Multi-label classification (e.g. as used in Keras) using DNN

I have data with about 100 numerical features and a multi-labelling that encodes ownership of a certain product (i.e. my labels are of the form $[x_i, i=1, \dots, n]$ where n is the number of products ...
0
votes
1answer
70 views

Detecting playing cards with a neural network

I want to train an AI to detect playing cards. For that reason I bought many different decks, scanned and labeled them. Next up would be to create training data with an augmentation library. I found ...
0
votes
0answers
12 views

Embedding Gensim fast-text

Would you suggest to train my own Fast-text embedding using the Gensim library despite i have 1800 sentences and 2k vocabulary length? Don't you think there are too few words? or is there not a ...
1
vote
0answers
12 views

Evaluation metrics multi-class classification (ROC- PR curves)

Facing with a multi-class classification task, my question is: are ROC and Precision-Recall (One-vs-All-Rest) curves useful to evaluate and visualize the performance of a model? or Confusion ...