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
1 answer
40 views

I would love to know to spot where the ball is in the picture [closed]

I would love to know the the exact point of where the location of the ball is and it’s x and y axis if possible
Nwabufo okeke's user avatar
0 votes
1 answer
18 views

How to incorporate the probability threshold for binary classification into scikit-learn GridSearchCV?

How would I perform grid search in scikit-learn including over the probability threshold for binary classification? In my search, most answers suggest first fitting a model and then performing a loop ...
bonzo_pippinpaddle's user avatar
0 votes
0 answers
27 views

What should you consider when splitting timeseries data into train and test sets?

My goal is to classify windows of multivariate timeseries data into a positive and a negative class. When I construct sliding time windows and randomly shuffle them into the train and test sets, I get ...
bonzo_pippinpaddle's user avatar
0 votes
1 answer
55 views

Why would balancing be so helpful when the imbalance is minimal?

I have a binary classification problem with a modest-to-none class imbalance (33% positive class-66% negative class). When I don't impose class balance, my XGBoost model produces no positive class ...
bonzo_pippinpaddle's user avatar
0 votes
0 answers
18 views

Is using LLMs a good solution for classification problems?

Consider a classification problem. In such a way that we have a large number of samples and in the learning process we classify them into several specific classes. In the test phase, the desired model ...
user16385455's user avatar
0 votes
0 answers
10 views

Neural Net Convergence for Batch SGD

I've built a dynamically sized neural network framework with for multi class classification—just to strengthen my understanding of the deep networks. I'm training and predicting my network to classify ...
arjaras's user avatar
0 votes
0 answers
13 views

Zero-shot out of distribution text classification

I'm building out a pipeline that would allow me to filter out text based on whether or not the text belongs to any of the classes I've defined. I feel like one (albeit naive) approach would simply be ...
mehsheenman's user avatar
0 votes
0 answers
12 views

Looking for an audio classification approach

I am working on a deepfake audio classification project with a dataset consisting of only 3000 samples. I have made several attempts to address this challenge. Firstly, I extracted melspectrograms and ...
user21456801's user avatar
0 votes
0 answers
34 views

How to detect abnormal fetal head size with image classification?

I am a computer science student currently working on my final project, which involves finding a classification-based solution for predicting the head size of a fetus during its third month. Here is a ...
NitaStack's user avatar
0 votes
0 answers
8 views

Cannot find appropriate model to classify hidden states

My input data is vector representing encoded image - 22 features, and I try to classify by 3 classes 0, 1, 2 (neutral, good, bad) Original: ...
Max Usanin's user avatar
0 votes
0 answers
26 views

Attention module (CBAM) in CNN tend to saturate values to 1

In the context of image classification, I am using a feature extractor based on a resnet-like architecture (ResNet12): four residual blocks, each of which is made of two consecutive conv3x3, batch ...
Lorenzo's user avatar
0 votes
0 answers
19 views

Linear SVM Hyperparameter Selection

I'm trying to train a linear SVM on the CIFAR-10 dataset and I obtained the results in the plot below for the hyper-parameter tuning (learning rate and regularization strength). It looks like the ...
timu vlad's user avatar
0 votes
0 answers
19 views

Improving Neural Network Model Accuracy with Initial Poor Classifications and Clustering

I have a dataset consisting of 52 files, each classified as 'yes' or 'no' for 22 different attributes based on specific subparts, not the entire content. After tokenizing, converting non-generic ...
Ferda-Ozdemir-Sonmez's user avatar
1 vote
1 answer
56 views

Suitability of Gaussian RBF (radial basis function) in SVM to separate the two classes

Given the following data samples (square and triangle mean two classes), why is it suitable to use a Gaussian RBF (radial basis function) in SVM to separate the two classes?
DSPinfinity's user avatar
0 votes
0 answers
7 views

Design approach for image classification regarding genders

I am new to the world of AI and wanted to ask your guidance on how to design a ML model to classify genders based on images. There will be only one person in the image. The person could be kids, ...
Doug's user avatar
  • 25
0 votes
0 answers
26 views

How to find distance between class representation's decision boundaries for a neural network?

I have a 5 layer DNN with data containing 10 classes. To study how the model works, one thing among many I am looking at is the class wise representations. I can extract the representations of each ...
v1998199904's user avatar
0 votes
0 answers
40 views

Should I consider this a normal phenomenon, or should I consider it an anomaly?

I am doing a network architecture search (NAS). I have two directories, train_data_npy and valid_data_npy where there are 3013 ...
user366312's user avatar
1 vote
1 answer
121 views

When are Transformers better than LSTMs in time-series tasks such as classification?

I’m working on a time-series classification problem and trying to decide whether to use a Transformer or an LSTM. From what I’ve learned, Transformers are better suited for capturing long-range ...
Mark Cortejo's user avatar
4 votes
4 answers
507 views

Is it possible that Precision and Recall increase together?

Usually, it is said in ML that there is a trade-off between Precision and Recall. I wonder if it is possible that Precision and Recall can increase together?
DSPinfinity's user avatar
0 votes
2 answers
93 views

is there a mathematical explanation of precision and recall tradeoff?

Is there a mathematical explanation of precision and recall tradeoff? Ie, is it possible mathematically to see that as you increase one, the other decreases? $\text{Precision}=\frac{TP}{P^*}=\frac{TP}{...
DSPinfinity's user avatar
1 vote
1 answer
95 views

Meaning of "error on the test point x" in optimal classifier for binary classification

Let f(x) be optimal classifier for binary classification where output is modelled noisy. What does it mean "f(x) makes a mistake only if there is an error on the test point x"? Basically, ...
DSPinfinity's user avatar
0 votes
0 answers
37 views

Can mAP(mean average precision) use at classification problem?

I have some questions about mAP(mean Average Precision). In object detection problem, mAP use to measure performance broadly. But, Is it possible to use mAP in multi-class classification problem? I ...
Yang's user avatar
  • 47
0 votes
0 answers
15 views

Why my deep learning model (FCNN/ 1DCNN) fails to learn when training on medical dataset?

I am working on a project to predict the severity of the disease, Hemophilia using a deep learning model(FCNN or 1DCNN). I am working based on the information provided in this article: https://www....
54rnd's user avatar
  • 1
1 vote
0 answers
17 views

Why is the Hinge Loss defined this way?

I have a question regarding the Hinge Loss function used for classifiers and in general the "max-margin" types of classifiers, it is defined as $$max(0,1-t*y)$$ where $t$ is the intended ...
Riccardo Caiulo's user avatar
0 votes
0 answers
14 views

How to create meaningful features that allow unsupervised image classification?

I would train features that can later be correlated with categories, once I have some examples for the categories. Let's say one has a set of training images sorted by artist, and wants to create some ...
allo's user avatar
  • 310
0 votes
0 answers
10 views

Classes definition for detecting impervious surfaces on aerial photographies

My project is to use deep learning, essentially a UNET segmentation model, to detect impervious surfaces on high resolution aerial photographies. I wonder if it's better to train the model with many ...
Below the Radar's user avatar
1 vote
1 answer
42 views

What number classes makes a classification problem continuous

I am working on a classification problem, where I have sequences of images and I want to train a model to predict the index of the image with some wanted property. The target classes would obviously ...
mavex857's user avatar
0 votes
0 answers
25 views

Simultaneous forecasting and classification

I'm working on a project where I need to perform both forecasting (regression) and classification using time series data. The dataset is labelled. I've been exploring LSTM networks due to their ...
mike7's user avatar
  • 1
1 vote
1 answer
69 views

Unclear points in scaled Euclidean distance

The following is from a machine learning book. I did not understand the explanation given in the figure caption. Could some expert make it clear? Why is the stretching class-dependent for the center ...
DSPinfinity's user avatar
0 votes
1 answer
57 views

Is it possible training accuracy never changed while training?

Question summary What informations can get from this epoch_accuracy graph? Is it possible training accuracy never changed like after 10 epoch in graph while training? Body I do some experiments with ...
Yang's user avatar
  • 47
0 votes
0 answers
12 views

Does the order of iteration affect the answer returned by FIND-S?

This paragraph is from the book Machine Learning by Tom M.Mitchell (Page 26): Initialize $h$ to the most specific hypothesis in $H$ For each positive training instance $x$ $\;\;\;\;\;\;$.For each ...
Emad's user avatar
  • 215
0 votes
0 answers
10 views

Predicting next 2D location from sparse 2D inputs which are received sequentially

Problem: You toss a coin on a 2D table with known dimension. There are certain regions on the table where the probability of get heads is high. At the maximum you can toss N=20 times at an arbitrary ...
goldfinch's user avatar
1 vote
2 answers
81 views

How to do image classification with optional metadata?

I have a vanilla image classification problem. The image may optionally have some numerical metadata associated with it. We don't assume uniform availability of this metadata, i.e., the model should ...
Vardaan Pahuja's user avatar
1 vote
0 answers
21 views

Search recall optimization - what appropriate loss function to use?

I am studying machine learning and wanted to work on a project of my own so that I have better chances after graduating college. I'm studying the application of ML to improve searches using a toy ...
user9343456's user avatar
0 votes
0 answers
31 views

Approaches for multi-label classification with over 1,000,000 labels

I have billions of rows in some dataset and each row can be in any subset of about 1 million binary labels. So the number of overall classes would be $\sim 2^{1,000,000}$, if I were to think about it ...
economicagent's user avatar
0 votes
1 answer
35 views

What is wrong in reasoning here in classification for defect detection?

Consider the following hypotheses: $H_0$: a given coin is fair $H_1$: a given coin is unfair Let $\alpha$ = P(Classify as $H_1$|Sample actually from $H_0$) We know the statistics for a fair coin, ...
DSPinfinity's user avatar
0 votes
0 answers
21 views

ROC curve for multiclassification - results sound not correct

I'm working on a multiclassification task using LSTM algorithm, i generated my roc curve plots but they give scores like 1 , 0.99, 0.97 however i have an accuracy of 0.97, Precision 0.65, Sensitivity/...
biihu's user avatar
  • 1
0 votes
0 answers
11 views

Implement perceptron given decision boundary function

Suppose we have a linear classifier for the classes ω1 and ω2 with characteristics vectors Xa=[a a]^T and Xb=[-a -a]^T correspondingly. Also suppose that the decision boundary that is defined by ...
TheExtraSpicyBeef's user avatar
0 votes
1 answer
43 views

Temporally Non-Aware RNN

I am trying to classify whether or not a specific object is in panoramic photos. The issue is, a panoramic photo can be any width, so the input to my neural network can't be fixed in that dimension. I'...
user avatar
0 votes
0 answers
15 views

Linear Discriminant Analysis on a transformed space

Let $S$ be a finite subset of a $\mathbb{R}^k$ partitioned into $N$ subsets $S_1, \ldots, S_N$ and let $n_j = |S_j|$. The between-groups sum of squares of the partition is defined as $$bSS(S_1,\ldots, ...
Alberto's user avatar
  • 101
0 votes
1 answer
68 views

Noob crafting a simple "Zero-Shot Classifier" Using an API . How can I avoid passing the categories every single request? [closed]

I have a collection of 700 categories, all potential classifications for articles. My current need is to create a system that can dynamically categorize short texts or articles according to these 700 ...
Advanced's user avatar
  • 109
0 votes
0 answers
19 views

Handling Feature Selection Discrepancy in Image Classification Model

I have developed an image classification model that categorizes images into two classes (we'll say good and bad for the sake of example) based on a set of tags. To improve the model's performance, I ...
eszfgefr rgrer's user avatar
0 votes
1 answer
43 views

Effect of large activations of hidden layers

The example is trying to predict wether coffe is well roasted or badly. 1 is good roasted and 0 is bad. The architecture is: Now I try to visualize the model. Unit 1 has higher values when the ...
Jacky02's user avatar
0 votes
0 answers
20 views

What is the main difference between class label prediction through Machine Learning and Conditional Label generation that can be done on raw data?

I have understood that machine learning helps us to classify various instances using the labeled data, but why do we need machine learning when we obtain the same results through generating labels by ...
vijay challa's user avatar
1 vote
0 answers
28 views

What are the most common fault prediction algorithms?

I have to predict a fault (automotive related) as much in advance as possible. Right now I have found a solution that is somewhat satisfactory (a good number of true positives and a low number of ...
Pigna's user avatar
  • 295
0 votes
0 answers
13 views

Early binary classification of timeseries

I'm trying to figure out how to solve this problem that I'll try to explain in the next few lines. I have a timeseries of length ~200k values and every 700 points I have a label that indicates the ...
irazza's user avatar
  • 1
0 votes
0 answers
31 views

Loss is negative- DQN with BCE Loss function

I am writing a code with DQN, using BCE as a loss function for the classification of a sequential time series. But while training, the loss value goes in negative. Also, accuracy and binary accuracy ...
rainarashika's user avatar
2 votes
1 answer
146 views

Node classification with random labels for GNNs

I decided to train GCN on the Cora dataset for the node classification task, however, with the random labels, i.e., applying np.random.shuffle(labels). For the ...
RobJan's user avatar
  • 123
0 votes
1 answer
38 views

Classify sequence of flags

I am not able to find an answer to how I should classify a varying number of sequence of binary flags + other features. My data looks like this (these are events, so the order is important and I may ...
Zaba's user avatar
  • 1
0 votes
2 answers
775 views

How do I choose a good treshold for classification (using cosine similarity scores)?

I am using openai's text-embedding-ada-002 embeddings model to do a semantic search on a database of articles to find articles that are most related to a given ...
Stefan's user avatar
  • 1

1
2 3 4 5
10