Questions tagged [training]

Training is the part of machine learning whereby a model is "trained" on a define portion of a dataset to learn attributes and statistical features of the data. It's counterparts are called Testing and Validation. After training a model is tested and validated on another portion of the dataset.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Can I modify my training datasets (X_train and Y_train) while fitting the model?

I am new to ML and I am trying to train a forecasting model. The target variable (Y_train) has multiple columns, all of Boolean type. The features table (X_train), according to my approach, in the ...
Mookesh Dash's user avatar
0 votes
0 answers
13 views

How can I tell if my CNN tuning made a difference?

I'm working on a detection CNN, estimates pose for some classes of objects. I am able to compute a bunch of different metrics on performance, things like position error, rotation error, tracking ...
Mr Squid's user avatar
  • 101
0 votes
0 answers
20 views

Training with few samples, dropping training loss but constant validation loss

I am training a resnet50-based model using transfer learning. My dataset has 10 classes and about 10 occurrences per class, so it is very small. The training loss is decreasing steadily to 0.07 for ...
ml_nnoobb's user avatar
0 votes
1 answer
16 views

Holding batch size constant, will a bigger dataset consume more GPU memory?

If you hold (mini) batch size constant (as well as everything else) but increase the number of examples (and therefore the number of training iterations), should you expect a (significant) increase in ...
ubadub's user avatar
  • 101
3 votes
2 answers
612 views

Confusion over training accuracy vs. training loss

I had a small discussion with my friends on overfitting and we became confused over the two terms: "training accuracy" and "training loss (or cost)". This is the first time I've ...
Tran Khanh's user avatar
0 votes
1 answer
48 views

Does that result is overfitting?

Does that result is overfitting ?
Begnnier's user avatar
0 votes
0 answers
31 views

How was the word2vec model trained?

Let's take the CBOW (continuous bag of words) model as the example. Suppose that, there are $c$ context words, each of which is a one-hot encoding vector. So the total number of elements of input ...
J. Doe's user avatar
  • 46
0 votes
1 answer
44 views

Very basic but how to understand data statistically for machine learning?

I’m trying to solidify my statistics so I really know how to use them in my analysis/models. However my concept of statistical testing gets completely messed up by context. I’m unsure defining exactly ...
donutmonster's user avatar
0 votes
1 answer
43 views

PyTorch ResNet implementation's Training Loss increasing with every Epochs

I'm implementing a ResNet network from scratch using PyTorch. This network is unique to my requirements, since I need to perform Image Classification for Satellite Imagery with 14 different channels ...
Gamma-ray-burst's user avatar
0 votes
0 answers
9 views

How do we modify the early stopping procedure to account for better losses after initial rise in losses?

I have a question regarding the usage of early stopping in the training of my forecasting model. Curious about how the training would go without early stopping, I observed that the test loss seems to ...
Zezimabig's user avatar
0 votes
1 answer
40 views

Workflow when making a machine learning model

I'm new to data science, and kinda confused with the workflow and steps to make a model. Before learning the math and concepts behind the algorithms like SVM, linear regressions, etc, I would just ...
Justin Jonany's user avatar
1 vote
1 answer
203 views

How to calculate the training accuracy of a decision tree?

The hint given was to construct a confusion matrix.
Praveent Thamil Mani's user avatar
1 vote
1 answer
139 views

what is the difference between window size and context length of language model?

is window size and context length of language model one and the same thing? ******** following text is added as question with ONLY above text was not allowed ***** I am trying to understand how GPT ...
Vinay Sharma's user avatar
0 votes
1 answer
30 views

Is it a problem to use the test dataset for the hyperparameter tuning, when I want to compare 2 classification algorithms on the 10 different dataset?

I know that we should use the validation set to perform hyperparameter tuning and that test dataset is not anymore really the test if it is used for hyperparameter tuning. But is this a problem if i ...
John B's user avatar
  • 1
0 votes
0 answers
9 views

Which Frameworks/Libs Best Support Integer-Based Features, Scaling, Training, etc?

Papers such as Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference have interested me in exploring integer-based data science. In particular, I'm thinking of ...
ezekiel68's user avatar
0 votes
0 answers
28 views

Training loss is much higher than validation loss

I am trying to train a neural network with 2 hidden layers to perform a multi class classification of 3 different classes. There is a huge imbalance to the classes, with the distribution being around ...
joseph wong's user avatar
0 votes
0 answers
37 views

Understanding the desired behavior of the loss function of Variational Autoencoders

So I understood that when training VAE, we need to weight the KL part of the loss with a weight less than 1 so that the reconstruction loss can get a chance to learn (avoiding the posterior collapse). ...
user1407562's user avatar
0 votes
2 answers
50 views

Why shouldn't we try to balance the test set?

Most advice I have found online is that we must not balance the test set. The test set should remain to be unseen. However, I failed to see how balancing the test set will cause us to leak knowledge ...
Fraïssé's user avatar
  • 119
0 votes
1 answer
31 views

Is it possible to detect early if a model is bad?

Let's say we have a model and have just started to fit it, the first epoch out of many. The first epoch shows awful results. Does it make sense to continue training hoping the results will be better ...
Putnik's user avatar
  • 105
0 votes
0 answers
37 views

Classification Threshold Optimization after GridSearchCV

In my machine learning problem I am using a CNN to classify images. Since my dataset is imbalanced I want to perform classification probability threshold tuning so I can find the optimal balance ...
Throwaway123's user avatar
0 votes
2 answers
31 views

Optimal Data Split

I have a multiclass problem (3 classes) that looks to predict if someone will buy a product, neutral or not. I have initial features of in-app activity data such as likes, share, bookmark, share, ...
Marc Atanante's user avatar
0 votes
0 answers
26 views

Naive Bayes classifier without training

I've a pooled group of individuals and a given number of features. So that my matrix looks like: individuals feature1 feature2 feature3 bob 1 0 1 ralph 0 1 1 mark 1 0 1 I want to discriminate ...
Lu_Ste's user avatar
  • 1
0 votes
1 answer
78 views

Imputation in train or test data

I'm having a rather simple question. Let's say i want to do a median imputation. I've read in some places that you should do: ...
Guilherme Raibolt's user avatar
0 votes
0 answers
18 views

How to train multiple inputs for my model?

I'm a high school student and a newbie in Machine Learning. I just learned Machine Learning Crash Course by Google so my knowledge's still limited. I'm trying to build an Object Detection by myself ...
Nguyễn Phúc Khang's user avatar
0 votes
3 answers
110 views

For cross validation should I use training set, or whole dataset?

I'm new to data science and I have a problem understanding what dataset to use when using cross validation for model evaluation. Let's say I have two models: LogisticRegression and ...
Michał Jurzak's user avatar
0 votes
1 answer
24 views

Is using a stop gradient on a residual connection the same as not using the residual connection?

Stop gradient operation prevents the gradients to be calculated for the proceeding graph. However, skip connection outputs are added to the sub-network being skipped over.
Light's user avatar
  • 101
0 votes
1 answer
24 views

Challenges in Predicting Molecule Activity

I want to share a concern I have. I want to obtain a machine learning model that can predict whether a molecule exhibits biological activity. For this purpose, I have a set of molecules that do ...
Yasser Hayek's user avatar
0 votes
0 answers
201 views

Choosing the number of episodes and iterations when training a RL model

I know the parameters chosen for training a RL model depend heavily on the model itself as well as the problem. Nevertheless, I am trying to train a bunch of these agents on different environments, ...
user152104's user avatar
-1 votes
1 answer
34 views

Which is the best binary classification model? Train and Test Accuracy are similar

I am building a binary classification model where classes are imbalanced but used SMOTE, I used 4 different models to compare performance and decide which to choose. They have same train and test ...
Sarah's user avatar
  • 1
0 votes
1 answer
38 views

How to train the AI to recognize soldiers' allegiance by armband?

If I hypothetically want to train an AI to recognize enemy soldiers by the color of their armband (for example green armband), should I feed the AI with only green armband soldiers or should I also ...
Henno's user avatar
  • 101
0 votes
0 answers
27 views

Retraining a TFlite Model for Fall Detection on Smartphone Accelerometer Data

I have developed a CNN model for Fall Detection using Keras and converted it to a TFlite(TensorFlow Lite) model for integration into an Android app. The app allows users to collect samples, which can ...
walt3rwhite's user avatar
0 votes
0 answers
24 views

Cross entropy loss starts out very low

I'm working on making a transformer from scratch as described in the "Attention is All You Need" Paper. When training my model, my cross-entropy loss is always very low at the start. For ...
Justin Goodrich's user avatar
0 votes
0 answers
25 views

Train test split in Graph Convolution Network for image classification

I am trying to construct a GCN for image classification where each pixel is a single node in the graph. However I want to train and test the model within the same graph, so I constructed a single ...
foobar's user avatar
  • 1
0 votes
0 answers
26 views

Help with running topology GAN (TopoGAN)

Link: https://github.com/TopoXLab/TopoGAN-ECCV2020 Sorry if this is the wrong place to ask, but I've been looking for help on how to work this out for a long time as I don't have much experience in ...
fds-mqdwqmqkdwl's user avatar
0 votes
0 answers
19 views

CGAN - Odd Distribution gap, failure of convergence?

I am trying to train on some 1 dimensional data (675 samples, its very expensive to get more) and trying to match the distribution seen here: There are labels from 1-3 as to associated with the noise....
Shiro's user avatar
  • 1
2 votes
2 answers
265 views

Training GPT Model with Swagger Documents, Need Help with Model Fit

We are currently developing an application that performs actions based on user input using 'gpt-3.5-turbo-0613'. For example, if a user enters the prompt "create a user with the name Potter and ...
mostwelcome's user avatar
0 votes
0 answers
14 views

How to train a layer multiple times in a pass for variable amount of input features?

I'm training an LSTM on multi-feature time-series location data. How can I design a network structure that can take one primary location's features, plus an arbitrary number $n$ of extra "...
rodriguezrrp's user avatar
0 votes
2 answers
127 views

KNN Accuracy training

After I developed my model using KNN I get the following accuracy: Train Accuracy :: 1 Test Accuracy :: 0.24 What is the accuracy of my model?
user150859's user avatar
0 votes
0 answers
48 views

how to predict the arpu for a monthly cohort dynamically?

The main idea of this project, is to predict the ARPU (Average Revenue Per User) 11 month after subscription of a cohort with a monthly subscription, using minimum number of delays (a delay is a month ...
wassimdiai's user avatar
1 vote
1 answer
39 views

Seeking guidance on understanding graphics card parameters for deep learning training

I am currently in the process of purchasing a new Nvidia graphics card for training deep learning models, and I have a few questions regarding the parameters involved and their relationship to the ...
ja1ba6's user avatar
  • 11
1 vote
1 answer
46 views

What is the meaning of K-folding Cross Validation's mean error?

I was just wondering the meaning of getting mean error of k-folding Cross Validation. The process is when I split a data set into k folding, and using k-1 as training set and the left 1 as the ...
cloudscomputes's user avatar
0 votes
0 answers
6 views

Example of Pytorch Checkpointed Model Zoo

I am interested in the training dynamics of neural networks and would like to access a selection of trained (or more specifically partially trained) networks over the course of their training without ...
Rosco's user avatar
  • 1
0 votes
0 answers
26 views

What data should be used to train an ensemble of pre-trained models?

I split my dataset into train and test data. Then I trained logistic regression, SVM, and random forest models using pipelines with cross-validation and train data. I saved best-performing models with ...
Dmytro Horodetskyi's user avatar
0 votes
0 answers
632 views

Easyocr Fine tune english_g2.pth text recognition model using my custom dataset

Am using easy OCR from the link below https://github.com/JaidedAI/EasyOCR I have custom dataset of 25000 images for training and 1000 images for validation in all_data folder generated. Max image ...
K manjunath's user avatar
0 votes
0 answers
24 views

Longer DNN training times when using evolutionary algorithms

I am comparing my deep neural network (DNN) performance when using 2 types of optimizers: gradient-based Adam (properly tuned) and a population-based optimization algorithm (e.g., genetic algorithm (...
knowledge_seeker's user avatar
1 vote
0 answers
200 views

Most popular frameworks for distributed training of pytorch

I've done mostly single GPU training using PyTorch. I've decided recently I wish to use a distributed approach for model training on a cluster with GPUs. But I'm unsure what framework to use. I gather ...
Stan Shunpike's user avatar
0 votes
0 answers
28 views

Using both gradient clipping and learning rate warmup, should gradients be clipped during the warmup, or only once the warmup phase has completed?

I'm training a network using both learning rate warmup and an adaptive gradient clipping method outlined here. Is there a general consensus or anything in the literature relating to whether gradients ...
Molem7b5's user avatar
0 votes
0 answers
123 views

Getting a dimension mismatch when training dataset on openAI CLIP

Here's the code I've written: ...
Manan Uppadhyay's user avatar
0 votes
0 answers
25 views

Why is the efficiency of my neural network code reducing and what is causing the issue?

I am trying to implement a simple neural network from scratch to classify images from the MNIST dataset. However, I have noticed that the efficiency of the code decreases as I try to train the network ...
Tanmay Gejapati's user avatar
0 votes
0 answers
23 views

Final Model Training Problem - Overfitting

I am working on a CNN project for multiclass classification. I implemented hyperparameter optimization to find the most suitable model, during which I got a best accuracy of 97.38%. I then took this ...
Zelreedy's user avatar

1
2 3 4 5
14