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
1
vote
0answers
8 views

Can a deep neural network be trained to classify an integer N1 as being divisible by another integer N2?

So I’ve been working on my own little dynamic architecture for a deep neural network (any number of hidden layers with any number of nodes in every layer) and got it solving the XOR problem ...
1
vote
0answers
7 views

Relationship between model complexity (depth) and dataset size

I'm new to deep learning. I was wondering what's the relationship between a deep model complexity (e.g. total number of parameters, or depth) and the dataset size? Assuming I want to do a binary ...
1
vote
0answers
12 views

Is there an algorithm for “contextual recognition” with probabilities?

Example 1 An object is composed of 3 sub-objects. Object 1: 90% looks like an eye 10% looks like a wheel Object 2: 50% looks like an eye 50% looks like a wheel Object 3: 90% looks like a mouth 10% ...
2
votes
0answers
42 views

How can I classify instances into two categories and then into sub-categories, when the number of features is high?

I'm working with a problem where I have a lot of variables for different cases of different users. Depending on the values of the different variables of a concrete user in a concrete case, the ...
3
votes
1answer
3k views

How to calculate entropy for an ID3 decision tree?

$$H(S)=-\sum_{x \in X} p(x) \log _{2} p(x)$$ Wikipedia's description of entropy breaks down the formula, but I still don't know how to determine the values of X and p(x), defined as "The proportion ...
1
vote
1answer
24 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 ...
0
votes
1answer
39 views

structure of neural network for classification problems with large amounts of null classifications

I am building a Convolution neural network to predict certain categories based on images (the location of a pointer on a surface) . However in many cases there will be no pointer in the view or ...
2
votes
1answer
81 views

Why is this ResNet50 misclassifying objects?

I'm new to Deep Learning, and I have some conceptual problems. I followed a simple tutorial here, and trained a model in Keras to do image classification on 10 classes of logos. I prepared 10 classes ...
2
votes
1answer
37 views

How are the inputs passed to the neural network during training for the XOR classification task?

Let's suppose we have to train a neural network for the XOR classification task. Are the inputs $(00, 01, 10, 11)$ inserted in a sequential way? For example, we first insert the 00 and change the ...
3
votes
1answer
63 views

How can I minimise the false positives?

I have 50,000 samples. Of these 23,000 belong to the desired class $A$. I can sacrifice the number of instances that are classified as belonging to the desired class $A$. It will be enough for me to ...
1
vote
0answers
16 views

The membership function of Consequents (Outputs) in Fuzzy classifier

The problem in Iris data is to classify three species of iris (setosa, versicolor and virginica) by four-dimensional attribute vectors consisting of sepal length (x1) sepal width (x2) petal length (...
1
vote
1answer
17 views

Using convnet to classify language of text contained in images

I hope this question is not too broad or general. I have a very large set of images all of which contain text (some have more, some less). All of them have been tagged as containing, say, English text ...
1
vote
0answers
22 views

How to change the architecture of my simple sequential model

I'm new to Deep Learning with Keras. With some tutorials online for cat vs non-cat classification, I was able to compile this simple architecture for my own ...
0
votes
1answer
28 views

Can I perform multiclass classification when the number of features is less than the number of targets?

Is it possible to perform multiclass classification on data where the number of features is less than the number of target variables? Do you have any suggestions on how to address a problem where I ...
0
votes
0answers
13 views

Model training with colored images instead of grayscale

I'm new to Python and Deep Learning with Keras. With some tutorials online for cat vs non-cat classification, I was able to compile this simple training code for my ...
2
votes
1answer
27 views

Feature extraction timeseries, model compatibility

I've got a timeseries with sensor data (e.g. accelerometer and gyroscope). I now want to extract the activity out of it (e.g. walking, standing, driving, ...). I Followed this Jupyter Notebook. But ...
0
votes
1answer
28 views

Techniques and semantics in better training of deep learning models

I'm relatively new to Deep Learning, and trying various models and datasets using Keras. I'm starting to love it! Through-out my experimentations, I have come into ...
1
vote
1answer
66 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 ...
1
vote
1answer
40 views

Classification with deeplearning : clean start vs continue training

I trained some weights to identify apples and oranges (using YOLOv3). If I want to be able to identify peaches, which approach is usually recommended: Start clean and train the 3 classes. Train ...
2
votes
1answer
54 views

Grading Questions Using Neural Networks

I have a questionnaire consisting with over 10 questions. The questionnaire is being answered by a lot of people - which I have manually graded. Each question can give the user up to 10 points ...
2
votes
1answer
32 views

Semantic issues with predictions made by my trained model

I'm new to Deep Learning. I used Keras and trained a inception_resnet_v2 model for my binary classification application (fire ...
0
votes
0answers
30 views

Focal loss for imbalanced multi class classification in Pytorch

I want an example code for Focal loss in PyTorch for a model with three class prediction. My model outputs 3 probabilities. ...
2
votes
1answer
946 views

Why is the hyperbolic tangent with MSE better than the sigmoid with cross-entropy?

Usually, in binary classification problems, we use sigmoid as the activation function of the last layer plus the binary cross-entropy as cost function. However, I have already experienced (more than ...
3
votes
1answer
116 views

What is the most effective way to build a classifier?

At the moment, I am working on a project which requires me to build a naive Bayes classifier. Right now, I have a form online asking for people to submit a sentence and the subject of the sentence, in ...
2
votes
1answer
36 views

What is the best way to find the similarities between two text documents?

I would like to develop a platform in 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 kinds of metadata. In the end, I ...
2
votes
1answer
57 views

What are causative and exploratory attacks in Adversarial Machine Learning?

I've been researching Adversarial Machine Learning and I know that causative attacks are when an attacker manipulates training data. An exploratory attack is when the attacker wants to find out about ...
4
votes
1answer
48 views

Why does the binary cross-entropy work better than categorical cross-entropy in a multi-class single label problem?

I was just doing a simple NN example with the fashion MNIST dataset, where I was getting 97% accuracy, when I noticed that I was using Binary cross-entropy instead of categorical cross-entropy by ...
1
vote
1answer
34 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 ...
1
vote
1answer
45 views

How to handle classification with label updates?

Suppose that my task is to label news articles; that is, to classify which category a news article belongs to. Using the labelled data (with old labels) that I have, I have trained a model for this. ...
2
votes
1answer
20 views

The best way of classifying a dataset including classes with high similarity?

I have a dataset which has two very similar classes (men wrestling, women wrestling). I've used InceptionV3 as a classifier to solve the problem of classifying this dataset. Unfortunately, the ...
1
vote
0answers
14 views

CNN multi output scores and evaluation

I am building a CNN with two outputs. I still have to put time in the network itself, but I was trying to get a good evaluation/classification report of the results. My code is the following: ...
6
votes
3answers
4k views

Binary classifier that minimizes false positive error

I have a binary classification problem, where a false positive error has a very big cost compared to the false negative error. Is there a way to design a classifier for such problems (preferably, ...
1
vote
0answers
9 views

Is there any time-varying directed graph dataset?

I am interested in the node classification task for graph data. So far,I've tried it with the Cora dataset, but it is an undirected graph and has word attributes as features. I want to extend this ...
12
votes
4answers
1k views

What makes neural networks so good at predictions?

I am new to neural-network and I am trying to understand mathematically what makes neural networks so good at classification problems. By taking the example of a small neural network (for example, ...
5
votes
2answers
493 views

How does text classification reduce manpower costs?

(I apologize for the title being too broad and the question being not 'technical') Suppose that my task is to label news articles. This means that given a news article, I am supposed to classify ...
0
votes
1answer
61 views

Does a data structure that models the encoding specificity principle in memory exist?

I find myself wondering if there exists a data structure with the following properties: Stores information Conforms to the encoding specificity principle
3
votes
2answers
94 views

How do we know the classification boundaries of the data?

Consider an image classification problem. Conceptually, we then have some high dimensional space where all the images can be represented as points, and having large enough labeled data set we can ...
3
votes
1answer
79 views

Using AI to interpret the nature a specific input and use the correct model

How would one go about building an AI that is capable to look at any kind of input and then identify what is the nature of this data? For example, an AI that is able to do image classification, NLP ...
4
votes
1answer
36 views

Is there any measure of separability of classes?

I want to know if there is a measure of how well two classes in Y are separable (linearly or not) based on their features in X. Easiest way of explaining this is to compare it to correlation ...
3
votes
1answer
52 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
22 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
34 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
1answer
32 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 ...
0
votes
1answer
66 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 ...
0
votes
1answer
48 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
17 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
59 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 ...
4
votes
2answers
143 views

Measuring and Classifying human intelligence?

I have a dataset of millions of chat messages from different discussions. Some of the messages are written by people who lack understanding or relevant language skills. These messages almost always ...
7
votes
1answer
537 views

Loss function for Hierarchical Multi-label classification

I am looking to try different loss functions for a hierarchical multi-label classification problem. So far, I have been training different models or submodels like multilayer perceptron ( MLP )branch ...
2
votes
3answers
121 views

Feature Selection algorithm for a high featured data

I have a cancer patient database from mass spectrometry on patients which consists of more than half million features. My task is to apply a feature selection algorithm to extract the most relevant ...