Questions tagged [training-data]
A training set is a set of data used to discover potentially predictive relationships, used in fields like artificial intelligence, machine learning, and statistics.
1,753
questions
0
votes
0
answers
9
views
Is SVM a good choice for multi-class text classification with a dictionary of related words?
i want to classify set of articles (textual content) to categories like {sport,politcs,tech etc...}
i searched for machine learning algorithms to make the classify mission. i choose svm for this ...
0
votes
0
answers
14
views
Where can I find training data for short text responses requesting a phone call?
Training data for "give me a call"
I need training data for short text responses where someone is wanting to be contacted. I have open survey responses and a lot of them read like "Your ...
0
votes
1
answer
12
views
When training and testing a Document AI project, what influences the f-score?
Using the cloud console I trained a model using only one field (to avoid the UI bug that was stopping training altogether) on one set of data. The model f-scored 0.306 on 50 training images and 50 ...
0
votes
0
answers
11
views
How to use rectangular image for CNN training to segment objects from square images?
Dear audience of Stackoverflow,
I am a student and I have a task to segment concrete components (coarse aggregates, voids and cracks) from X-ray CT images.
I have started to study the DL and I think ...
0
votes
1
answer
33
views
R Programmming: Error in eval(predvars, data, env) : object 'Price Each' not found
R Programming:
I have a data frame called new_data
names(new_data)
[1] "Order ID" "Product" "Quantity Ordered" "Price Each" "Order ...
-1
votes
0
answers
27
views
No improvement in accuracy during training(all predict one class)
We have developed a model for a binary classification task and have defined the necessary training parameters. The model takes inputs: mag_10 = [N, 1024] and mag_40 = [N, 1024].
However, during the ...
0
votes
0
answers
13
views
File Not Found Error in Google Colab Python Code for ML , dataset loading
I have written this code in Colab:
# load the dataset
X_train, y_train = load_house_data()
X_features = ['size(sqft)','bedrooms','floors','age']
But this is showing File Not Found Error, repeatedly....
-1
votes
0
answers
14
views
oserror: [errno 5] input/output error in google colab during training [closed]
I'm facing a problem when trying to train model that deals with images in google colab pro, the training images are more than 200K the training process keeps terminating after 2 minutes.
the training ...
1
vote
0
answers
4
views
Strange notebook response
I am trying to run the next code on data samples 10000 image with size 2242243 jupyter notebook but I get this error
"The kernel appears to have died. It will restart automatically." I tried ...
0
votes
0
answers
10
views
Why is test MSE so low on basic linear model but high on advanced LASSO model? (with hopefully less variance)
I am performing regression on a Pokémon dataset(https://www.kaggle.com/datasets/rounakbanik/pokemon) trying to predict HP of a Pokémon with a selection of features. The features used in the model have ...
0
votes
0
answers
7
views
How do deal with bad visibility in keypoint-annotation
For a private project I'm trying to build a keypoint-detection-system for live fish in a watertank. Keypoints are the eyes, tailtip and so on, only in side-view.
So now it comes to image annotation I ...
0
votes
0
answers
7
views
In Yolov7, how can I adjust the weight of certain training data for better model retraining?
I trained a yolov7 model on a public annotated data set. The model performs reasonable well on the public dataset. Next I tested this model against an annotated dataset, that I produced, the model is ...
1
vote
1
answer
17
views
Different results in different epochs
Why we get different results(weights) while using multiple epochs also we use the same data in each epoch? What is happening in each epoch? Is each epoch use the previous weights?...
0
votes
0
answers
14
views
sign language recognition system using CNN it resulting wrong predictions
i working on ASL Sign language recognition system based on CNN, i developed the basic code (which is training the dataset) in google colab, then i used python 3.8.0 to loading the trained models and ...
-3
votes
0
answers
25
views
Need help installing cuda 11.0 and cudnn on Ubuntu 22.04 LTS for training a yolov4tiny model on my GeForce RTX 3060 [closed]
I want to train a yolov4tiny on linux but I can't install cuda 11.0.
I work on ubuntu 22.04 LTS and i have a geforce rtx 3060.
I've tried a lot of solutions on several forums but ...
please help if ...
0
votes
0
answers
13
views
Why does the validation F1 score remain constant from the first epoch and outperform the training F1 score?
I am working on GNNs and when training something strange has caught my attention. When I train GNN models on different datasets, I've noticed that the validation F1 score remains the same starting ...
-1
votes
0
answers
21
views
If you print history.history during model training, only the loss value comes out
My Model
lr_schedule = tf.keras.optimizers.schedules.ExponentialDecay(initial_learning_rate=0.001,decay_steps=1000,decay_rate=0.9)
def build_dnn_model(input_shape):
model=tf.keras.Sequential()
...
-1
votes
0
answers
20
views
How to increase accuracy or introduce a training loop?
How can I introduce a training loop to get a better W? W is a projection Matrix which will be multiplied with the test data gives a semantic representation of the test data.
In the following GitHub ...
0
votes
1
answer
47
views
How to execute a function on a response intent to a specific question?
I am training a chatbot on my data. I have a function that goes through my data and returns either 4 random items where their category is = "Beverages" or "Entrees" depending on ...
0
votes
0
answers
35
views
Compile time in Julia when training a model in Flux is too high
I'm training a simple model on Julia using Flux and I'm trying to compare the training times between training on GPU and on CPU (also between Julia and Python using the same model in Python with ...
0
votes
0
answers
13
views
Train and test with different datasets
if i have 3 fake news datasets and i want to know which one is best to train a model, can i do this?
Train with A, test with B and C
train with B, test with A and C
train with C, test with A and B
I ...
0
votes
0
answers
12
views
How do I train a Botonic project with NLP?
I'm currently trying to build a chatbot using Botonic and trying to integrate NLP.
I'm following the instructions offered by the official user guide. The folder structure that I get after creating ...
0
votes
0
answers
28
views
My Neural Network(multiple input, multiple output) is giving NaN Values
neuralnetwork architecture
I am currently trying to train my Neural Network and experiencing NaN values after a given point.
Input: State and Actions
Output : Value of the state and probability of ...
0
votes
1
answer
22
views
Trying to extract frames from a video where faces are detected using my trained TensorFlow model but it writes black images. What went wrong?
I'm trying to make a TensorFlow face detection model. One file trains the model and exports the model in a .h5 file shown here.
import tensorflow as tf
import cv2
from tensorflow.keras import layers
...
-1
votes
0
answers
28
views
I can't predict using Tensorflowjs and Nodejs
It seems I'm not able to get a realistic prediction value.
And I don't know if the error come from the model, the training, the prediction or maybe all of them...
My use case is quite simple :
I have ...
-1
votes
0
answers
22
views
How can i re-load my partially trained model?
i used this code from keras.models import load_model
model=load_model(r'C:\Users\user\model.inceptionresnetv2.h5') and it was excuted successfully
but then while doing this
callbacks = get_callbacks('...
1
vote
1
answer
43
views
Validation loss goes up after some epochs on pre-trained ViT
I am fine-tuning vit_base_patch16_384 model from timm libarary on TESLA V100 GPU. At the moment, I have 3000 training images divided into 15 classes. Accuracy is stuck on 46% and I think there is some ...
-1
votes
0
answers
10
views
Im trying to run a collab file and Im getting this error "name 'load_net_custom' is not defined"
so im trying to run this collab file : https://colab.research.google.com/github/isnamdnazim/YOLO-V4-Object-Detection/blob/main/Real_time_YOLOv4_Object_Detection_on_Webcam_in_Google_Colab_%...
-1
votes
0
answers
10
views
Training a model to output an xml file from a user text to create structural model
I would like to train a model which will return an xml file that I can then use to create a structural model.
For example, the code below represent a Bar of a certain length with a certain cross ...
-1
votes
0
answers
13
views
How can I train mask r-cnn model without bounding boxes for instance segmentation. As I am having original images and its instance segmented masks?
I wanted to apply mask rcnn model for the instance segmentation on a dataset which is having original images and instance segmented mask images only.
Please help me with this.
Thank You!!
I am trying ...
-1
votes
1
answer
19
views
train, validation, test set in relation to evaluation metrics
I am getting a little confused about the notion of training, validation and test set and what exactly they should be used for.
My understanding is that we make a split in our data (for example 70% ...
0
votes
0
answers
21
views
The number of configurations Keras Hyperband gives me per round doesn't match the code?
I'm trying to figure out how the Keras implementation of Hyperband calculates the number of configurations to test per round within a bracket. When I run Keras Hyperband with max_epochs=10 and factor=...
0
votes
0
answers
10
views
How to use cross validation correctly for deep learning?
How to use cross validation correctly for a deep learning model?
How to use cross validation correctly for a deep learning model?
How to use cross validation correctly for a deep learning model?
...
0
votes
0
answers
18
views
How to train a neural network with X being 5d and y being 2d (padded)
I'm trying to train a neural network that mimics the chess playing style of a specific player.
The problem is that I can't train the model because of its shape. Maybe I need to make y.shape 1D because ...
0
votes
0
answers
42
views
is there a training script running on Intel Iris Xe Graphics intead of Nvidia?
guys, i'm using a Intel Iris Xe Graphics, i'm looking for a training script can run on Intel Iris Xe Graphics. May i use torch==2.0.0+cu118 or torch==1.13.1+cpu? should I remove the arg '--xformers'...
0
votes
0
answers
33
views
Pytorch RNN works badly when training sequentially through the whole dataset but works well when training on random selected training examples
I'm working on a toy RNN example on PyTorch published on the official website NLP FROM SCRATCH: CLASSIFYING NAMES WITH A CHARACTER-LEVEL RNN and I want to rewrite code based on my own understanding on ...
-1
votes
0
answers
48
views
Export actual train and predicted train data
I have run the BiLSTM algorithm in my data for prediction. Could you please suggest how I can export the predicted train and actual train data from jupyter notebook? I have tried several times but ...
0
votes
0
answers
38
views
why my training model got only one result?
I have a problem where the result of my training model comes out with only one output, which is [1]. actually has 2 outputs which are [1] real and [0] fake. I follow step by step from github but when ...
0
votes
1
answer
54
views
How can I predict model from Handwriting numbers?
I collected Handwriting number and train model with VGG16
and made model is Sequential
from keras import models
from keras import layers
from keras import optimizers
model = models.Sequential()
model....
0
votes
0
answers
16
views
Groupe and strata in mlr3
Hi everybody, I work actually on mlr3 and I was wondering if you could split your datas by grouping and stratify at the same time ? I saw on another topic that it was impossible...but is there no any ...
0
votes
1
answer
225
views
Training BERT (bert-base-uncased) for a Custom Dataset for Multi-label task
I am trying to train BERT to a custom dataset with the labels shown in the code to be deployed to hugging face afterwards. It runs into errors regarding the performance metrics like this:
RuntimeError ...
0
votes
0
answers
51
views
mlr3, don't understand the splitting part
Hi everybody I'm new in the mlr3 universe and I'm currently trying to learn how to use it thanks to their book (https://mlr3book.mlr-org.com/Flexible-and-Robust-Machine-Learning-Using-mlr3-in-R.pdf).
...
0
votes
0
answers
31
views
I have dataset named song_analysis it has 23 columns out of which 3 are character ( performer name , songs name , genre ) l
My aim is to create models train & test to predict and find lowest RMSE
After which I have to use the train model prediction to test on 2nd dataset named as ( scoringData , which do not have my ...
0
votes
0
answers
41
views
Running out of RAM while gathering training data for Python Machine Learning Model
I am working on a big personal project implementing a 3D CNN Model. The problem is that I run out of RAM while I gather the training data (the dataset is a collection of around 1000 small videos with ...
0
votes
0
answers
18
views
Perfect prediction results with risk of overfitting?
I am performing a binary classification task using MLPClassifier and I followed the following structure: Removing null rows and columns, imputation, removal of outliers, balancing the dataset and ...
0
votes
0
answers
21
views
'DataFrame' object has no attribute 'temp'
Weekly_Sales=df.temp
AttributeError Traceback (most recent call last)
Cell In\[19\], line 1
\----\> 1 Weekly_Sales=df.temp
File \~\\AppData\\Local\\Programs\\Python\\...
0
votes
0
answers
35
views
OpenCV Example with FaceRecognizer. Mat.createBuffer() does not exist. Why all the images have to be of the same size and to be cropped out?
I am trying to write a simple software that, given a set of images, recognise if the person I am looking is in that set.
By looking at the openCV doc I came across the class FaceRecognizer. I have ...
0
votes
0
answers
15
views
convolutional AE on MNIST data set
as part of a project, i need to build a convolutional AE and explore the change in train and test lost as a function of the latent space dimentions .
This is my code :
import torch
import torch.nn as ...
1
vote
0
answers
34
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 ...
1
vote
2
answers
67
views
How to get rid of error "could not convert string to float"?
Currently trying to test my model with the rest 30% of the data and to show the test results, but can't seem to be able to test it
from sklearn.model_selection import train_test_split
x_training_data, ...