Skip to main content

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
15 views

Normalizing the embedding space of an encoder language model with respect to categorical data

Suppose we have a tree/hierarchy of categories (e.g. categories of products in an e-commerce website), each node being assigned a title. Assume that the title of each node is semantically accurate, ...
mtcicero's user avatar
  • 101
0 votes
0 answers
16 views

Cross validation and MICE imputation

I'm working on a binary classification problem where I have some missing data. My initial idea was to use MiceForest. I'm also using stratified k fold technique (Data is imbalanced). I also want to ...
chapu's user avatar
  • 1
0 votes
1 answer
43 views

In multi-class classification, how accurate can the model be if there's class imbalance?

My dataset has essentially multi-classification problem, where I have the treatment failure (0), cure (1) and relapses (3) of patients that are associated with a series of covariates (~100 different ...
Jeff's user avatar
  • 3
0 votes
0 answers
13 views

best approach for training a model to determine patent prior art

I am looking to train a model that will take in text for a patent and be able to output the ids of patents that are most likely to be prior art for that idea. There is a ton of training data for this ...
Alexander Halpern's user avatar
0 votes
0 answers
55 views

I can’t pass a treshold no matter what I do

I am currently training an CNN for classification. My training data are 80x80 images, 3 channels, which I have grouped into 25% validation, 75% training, all evenly distributed. I have 3 classes into ...
will's user avatar
  • 1
0 votes
1 answer
46 views

How do I improve the prediction speed of a model?

I have a use-case where we need a classifier to take decisions in real time, meaning that as data arrives, we need to decide to which category that data belongs and it has to be done fast. The better ...
acampove's user avatar
0 votes
1 answer
34 views

Best way to classify chess pieces on a chessboard (on a square) [more details in the post]?

Ok, so I am working on a project which classifies chess pieces. The input is just a chess piece from a specific chess set on a white / black square on the chessboard. So it's just an image of a chess ...
vct12345's user avatar
0 votes
0 answers
6 views

How to choose segment in Grouped AUC metric?

Background In Binary Classification, AUC is a common metric. However, Group-AUC performs better in some scenario, such as we use AUC grouped by user in recommendation systems. In the below examples, I ...
Travis's user avatar
  • 101
0 votes
0 answers
32 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
13 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
16 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
56 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
107 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
20 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
62 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
23 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
22 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
37 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
60 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 ...
monopoly's user avatar
  • 111
0 votes
0 answers
15 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
41 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
31 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
23 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
21 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
68 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
32 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
1k 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
736 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
304 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
57 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
19 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
22 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
12 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
46 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
61 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
237 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
2 3 4 5
10