Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
0 answers
19 views

Shape mismatch error in a multi-input model with Keras API

My intention is to have a classification model where different types of input could have individual hidden layers before being concatenated downstream. I get the error (below) stating that my input ...
Art's user avatar
  • 1
0 votes
0 answers
8 views

SVM Kernal the correct approach for classification problem?

I am working on a classification model that I will explain below and I wanted to get some insight on the optimal approach. I am currently experimenting with SKLearn and SVM Kernel as such svm.SVC(...
Ahmed Zaidan's user avatar
0 votes
0 answers
9 views

Is it possible to have lower ECE but worse reliable curve?

I am new to the calibration concept for classification. I have tried temperature scaling on my model's results. However, after applying temperature scaling, the reliable curve got worse despite ...
Sara's user avatar
  • 1
0 votes
0 answers
14 views

My loss is increasing instead of decreasing when i use a regularizer, but if i don't use regularizer then it stays at 00000e+00 or something

This is my model architecture: ...
Kamruzzaman Uzzal's user avatar
2 votes
1 answer
52 views

Is there an algorithm capable of telling knots and links apart?

I'd like to create some algorithm that can tell apart knots from links. A knot is made up of one line, a link with multiple. As input, we expect images as above. Is there an algorithm capable of ...
Csaba Daniel Farkaš's user avatar
0 votes
1 answer
58 views

Does a random forest classifier always get 100% accuracy on its own training data?

Due to the way that decision trees work, do random forest classifiers always get 100% accuracy on their own training data? My random forest classifier got 100% accuracy on its own training data, so I'...
user1181399's user avatar
0 votes
0 answers
17 views

Train a network to find the most sharp image from a group of images

I'm new to deep learning, and I am trying to find a solution to the below scenario, any suggestions about the keywords would be greatly appreciated. I have a data set with groups of images. In each ...
Sherry's user avatar
  • 1
0 votes
0 answers
51 views

Drum sound classification using RNN issues - help needed

I am new to the field of machine learning, even tho I have solid background in semi-related fields (am control system engineer by trade) and as a hobby project I wanted to work a bit with sound ...
APasagic's user avatar
0 votes
0 answers
22 views

Is it feasible to solve dynamic graph-level classification without labels?

I already did graph-level classification using heterogeneous hypergraph learning in an ICDM paper last year. However, I now want to extend it for dynamic graphs, i.e. the task is dynamic graph-level ...
maliks's user avatar
  • 101
0 votes
0 answers
20 views

Is it necessary that the number of samples of one class be balanced with other classes in a classification problem?

Consider a classification problem using machine learning techniques (e.g. malware detection). In such a problem, is it necessary that the number of samples from each class (in the mentioned example, ...
user16385455's user avatar
1 vote
0 answers
47 views

How to fine-tune pre-trained model? [closed]

I'm trying to classify a data set of medical images with a pre-trained model EfficientNetB0. I've written a code in Python with Pytorch to train my model and fine-tune it but I would like to know if ...
NitaStack's user avatar
0 votes
1 answer
25 views

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

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
33 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
58 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
11 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
17 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 ...
thevoid's user avatar
  • 111
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
39 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
29 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
21 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
57 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
29 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
41 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
770 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
621 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
124 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
98 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
48 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
  • 57
0 votes
0 answers
16 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
19 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
11 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
45 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
28 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
72 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
59 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
  • 57
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
11 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
170 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
26 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
36 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
23 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
12 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
79 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

1
2 3 4 5
10