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
0
votes
0answers
6 views

Why is/can node classification (graph machine learning) be semi-supervised while graph classification is supervised?

I was reading about different graph machine learning tasks in this book (Chapter 1) here and to learn about node classification and graph classification tasks. Then I looked at this paper here, which ...
0
votes
1answer
13 views

Multi label classification on non binary labels with pytorch

I am working on a project consisting of medical images and a huge dataset of multi-label and non-binary labels/outcomes ( sex, blood pressure, age and 40 more ). Would be the best approach to hard ...
0
votes
0answers
19 views

pytorch TypeError: forward() takes 1 positional argument but 2 were given [closed]

I have been trying to implement a small VGG network but run into this error. Here is the error message I am getting: ...
0
votes
1answer
13 views

Should I train my network for classification on samples whose ground truth label is ambiguous?

Imagine that I am training a model to classify handwritten digits. Suppose there are some bad quality images that could be classified by a human as either 0 or 8, 1 or 7 or other commonly ...
0
votes
0answers
12 views

Identify Merchants from Transaction Dataset

I have a transaction dataset, each transaction is in an unstructured format. The objective is to identify merchant from each transaction. If we look it from NER point of view, there would be problem ...
0
votes
1answer
31 views

Is it normal that the values of the LogSoftmax function are very large negative numbers? [closed]

I have trained a classification network with PyTorch lightning where my training step looks like below: ...
0
votes
0answers
7 views

Algorithm/methodology for JSON document classification/prediction

I would like to build a system (or use an existing one, if it exists) that learns and classifies JSON documents (objects) into categories. The input JSON objects will have a few standard properties ...
1
vote
0answers
38 views

Is having near-duplicates in a training dataset a bad thing?

I am making a labeled dataset of images from web streams for a CNN classification. Pictures from the same stream are quite similar as far as background, but slightly different as far as the main ...
0
votes
0answers
30 views

What should the value of $ρ$ in the $w(n+1) = w(n) + \rho*\text{error}(i)x(i)$ formula of Least Mean Squares be?

I am trying to better understand the Least Mean Squares algorithm, in order to implement it programmatically. If we consider its weight updating formula $$w(n+1) = w(n) + \rho * \text{error}(i)x(i),$$ ...
0
votes
0answers
13 views

Preprocessing images for test and validation datasets for training a convolutional neural network (CLAHE)?

I'm training a convolutional neural network for image classification,and i want to preprocess the images, for example with the CLAHE method. I'm not sure if this preprocessing has to be used on the ...
0
votes
1answer
69 views

Which of the following two implementations of a Least Squares classifier in Python is correct?

I am trying to solve a classification problem by implementing the Least Squares algorithm in Python. To solve this problem, I am implementing the linear algebra formula to train the classifier, which ...
1
vote
0answers
14 views

is there any proof that metric learning cannot achieve better on image classification task than accepted models (resnet etc)?

Everything is in the title. Metric learning seems to be closer to our way of thinking than the best performing models (supervised learning CNNs-based models like resnet or efficientnet). I was looking ...
2
votes
0answers
21 views

Is soft labeling the same thing as label smoothing?

I have some data with soft labels and I am trying to figure out the best approach to solve the problem with Machine Learning (since regular classification is of the table, i.e. hard labels). However, ...
3
votes
1answer
44 views

How can I interpret the way the neural network is producing an output for a given input?

I'm using a small neural network (2 hidden layers, 60 neurons apiece) for a rather complex binary classification problem. The network works well, but I'd like to know how it is using the inputs to ...
0
votes
0answers
17 views

How can I weight each point in one-class SVM?

I want to give weights to some data points Specifically, these are points related to anomalies (I'm implementing one-class SVM for anomaly detection) Exactly, I want to consider some data points that ...
0
votes
0answers
30 views

How Long Short Term Memory (LSTM) work for time series classification?

I first got the concept of LSTM on how it works word to word prediction etc. However, I want to know how it work with the time-series classification. For example I have the follwing data (see image ...
0
votes
0answers
9 views

How to deal with unbalanced data in multilabel classification problem

I have 3 possible solutions, but I am not sure if they are good. I think they are a bit clunky (especially 1st and 2nd). Use multiple small models. So instead of having the model that can tell you ...
0
votes
0answers
12 views

Comparing results of different image splicing methods on a part of the CASIA 2.0 dataset

So I am working on an image splicing detection algorithm using ResNet-50 model. I am using the CASIA 2.0 dataset which consists of 7491 Authentic images and 5123 Fake images. However out of the fake ...
0
votes
0answers
29 views

Model not learning anything, what can be the problem?

I've trained a model for heart sound classification with transfer learning (MobileNet) on Physionet dataset, and it works fine. However, when I train it on my own dataset, it seems that it can not ...
0
votes
1answer
78 views

How can I approach this problem of producing a 3-bit binary string given a sequence of letters?

Suppose, I have the following data-set: ...
1
vote
1answer
44 views

How would the probability of a document $P(d)$ be computed in the Naive Bayes classifier?

In naive Bayes classification, we estimate the class of a document as follows $$\hat{c} = \arg \max_{c \in C} P(c \mid d) = \arg \max_{c \in C} \dfrac{ P(d \mid c)P(c) }{P(d)} $$ It has been said in ...
0
votes
0answers
11 views

What are some of the ideas to solve Learning-to-choose problem?

Suppose I want to predict cats and dogs, but with a twist: the model can choose the image to predict. For example: Given a list of 10 images (with both dogs and cats), the model need to choose one ...
0
votes
0answers
30 views

What are the existing AI methods to approach 3D volumes of computed tomography?

I have a dataset which consists of computed tomography images (CT scans) of parts that contain pores and cracks. The sets for each part are of about 1100 * 1100 * 3000-ish resolution. Currently, I use ...
0
votes
0answers
7 views

Can I use transfer learning with Bert and none text sequential data?

I'm working on a multiclass classification problem, each row on my dataset have 5 time windows with 23 values on each time window, I would like to use transfer learning using the Bert transformer to ...
0
votes
0answers
23 views

Could an adaptive discriminator augmentation (ADA) be used for a discriminatory task?

Was wondering if I could use an adaptive discriminator augmentation (ADA) on a data set like MNIST (multi-class classification task). It seems that this is focused on generative modeling, so not sure ...
1
vote
0answers
23 views

Why class embedding token is added to the Visual Transformer?

In the famous work on the Visual Transformers, the image is split into patches of a certain size (say 16x16), and these patches are treated as tokens in the NLP tasks. In order to perform ...
0
votes
0answers
8 views

Evaluating a convolutional neural network on an imbalanced (academic) dataset

I have trained a posture analysis network to classify in a video of humans recorded in public places if there is a) shake-hand between two humans, b) Standing close together that their hands touch ...
0
votes
0answers
96 views

Can I use the VAE for dimensionality reduction?

I'm doing a project that uses a clustering algorithm for the facial expression classification task. So, I use the output of the encoder in the VAE autoencoder for dimensionality reduction. However, I ...
1
vote
2answers
73 views

What is the difference (if any) between semantic segmentation and multi-class, mutually exclusive classification?

Multi-class classification is simply assigning all data points into one of up to any finite number of mutually exclusive labels. I am new to the field(s) of AI/ML and I keep hearing people use the ...
0
votes
1answer
42 views

Which loss function could I use to solve a regression problem as a classification problem (where we discretize the labels into buckets)?

I am considering a rather typical regression problem, but, for practice, I am trying to implement this as a classification problem. The setup is as follows. I have $\mathbb{R}$-valued labels $y_i \in [...
0
votes
1answer
17 views

What approach would work well for predicting earthquake intensity based on historical data?

My problem: I own warning system where I collect data from institutions and send them over through various ways to users. I would like to hear your advice on what approach I can use for solving my ...
1
vote
0answers
19 views

Is my dataset unlearnable, or is my LSTM model not smart enough?

I have time-series data obtained from a video. The data is composed of bitrate and corresponding label pairs for each timestamp: The distribution over the first 30 seconds is as follows: I have ...
1
vote
1answer
25 views

How to classify when the label is seldom known

When I think about classification I think of the cancer/not cancer example. You have a bunch of attributes and you know whether the person had cancer during the relevant time period and you determine ...
-1
votes
1answer
19 views

Projected Gradient Descent to separate two classes

I am implementing projected gradient descent. i am trying to create one adversarial perturbation that when applied to images from different classes, causes my classification error to drop. I believe ...
0
votes
0answers
19 views

Defining optimal false-positives and false-negatives balance with a cost function

My attempt to solve the problem below: $$\text{cost function} = C = (TP \cdot CTP) + (FN \cdot CFN) + (FP \cdot CFP) + (TN \cdot CTN) = ((1 - (1 - FP)^2) \cdot 1000) + (FN \cdot CFN) + (FP \cdot ...
0
votes
0answers
40 views

How is it possible that the softmax combined with the MSE in a molecule classification task performs than than the cross-entropy?

I'm working on a GNN project associated with molecule classification. The project is to classify if the atom in the molecule will initiate a certain reaction. For example, a molecule can be ...
1
vote
1answer
48 views

What kind of neural network should I build to classify each instance of a time series sequence?

Let's say I have the time-series dataset below-left. I would like to train a model in such a way that, if I feed the model with an input like the test sequence below, it should be able to classify ...
1
vote
1answer
40 views

Recommended Time serie forecasting model for Fibonacci levels classification

I have a set of time series data which gives me fibonacci levels and the duration at which the value is at this level. Data structure to look like: ...
1
vote
1answer
29 views

How do I take the correct classification predictions of an ml algo (i.e. random forest/neural net) and sort the instances in each category?

I am trying to sort the instances within each of 5 classification categories in a dataset that has been put through both a random forest classifier and a neural network with 99% accuracy on each. ...
0
votes
1answer
23 views

What algorithm to use to classify data by spatial relations?

Let's assume I have dataset of image-like 2D samples where values can be divided into few discrete levels (for example 1, 2, 3 and 4) like in the image below, where each color maps different value, ...
2
votes
1answer
34 views

How to handle class imbalancing when the actual data are that way

My supervised learning training data are obtained from actual data; and in real cases, there's one class which happens less often than other classes, just around 5% of all cases. To be precise, the ...
0
votes
0answers
20 views

How to Classify Game Stages Based on Bitrate Time Series Data Using RNN - LSTM

I need suggestions for my project and would be glad if you would give me a hand. I have a dataset of frames obtained from the old-school game DOOM. Each frame in the dataset has the following columns: ...
0
votes
0answers
17 views

Converting inputs as a batch for time series classification would increase accuracy?

I have sensor dataset. I have already classified these data with LSTMs.I have a dataframe with 2 features and a class column. Assume that I take every two rows(inputs) respectively and make the ...
0
votes
2answers
65 views

Accuracy Not Going Above 30%

I am trying to make a big classification model using the coco2017 dataset. Here is my code: ...
2
votes
1answer
64 views

Why the number of training points to densely cover the space grows exponentially with the dimension?

In this lecture (minute 42), the professor says that the number of training examples we need to densely cover the space of training vectors grows exponentially with the dimension of the space. So we ...
1
vote
1answer
39 views

How to define a "don't care" class in time series classification in Pytorch?

This is a theoretical question. Setup I have a time series classification task in which I should output a classification of 3 classes for every time stamp t. All ...
1
vote
2answers
48 views

What model structure I should use to train on low res and blurry images?

I am looking for advice or suggestion. I have photos like these: photo_1 and photo_2 and many more similar to that. The average shape of these photos is about 160 x 100. What we are doing is we are ...
0
votes
0answers
23 views

Should I use the Siamese or the matching network to find the closest match between one image and other images?

I have to find the closest match between my image and a bunch of already collected images of different classes in the folder. Which of the meta-learning approach should I select? I am thinking about ...
3
votes
1answer
80 views

How to define machine learning to cover clustering, classification, and regression?

How to define machine learning to cover clustering, classification, and regression? What unites these problems?
1
vote
1answer
850 views

How do I calculate the probabilities of the BERT model prediction logits?

I might be getting this completely wrong, but please let me first try to explain what I need, and then what's wrong. I have a classification task. The training data has 50 different labels. The ...

1
2 3 4 5
8