Questions tagged [test-data]
246 questions
0
votes
1 answer
Training/Test data in tensorflow example
I'm new in tensorflow and i follow example at here, but i have one question.
Codes are as follows:
import numpy as np
import tensorflow as tf
from time import time
import math
from include.data import get_data_set
from include.model import model,…

Bedrick Kiq
- 365
- 1
- 5
- 14
0
votes
1 answer
Height of a random forest decison tree increasing till 25 and the test accuracy also increases
I have a dataset of [~16k] and am doing binary classsfication [0/1].When i am doing hyperparameter grid search in random forest my train and test accuracy increase as increase the depth[optimum is coming out to be 25].I am getting a test accuracy of…

YNWA
- 43
- 7
0
votes
1 answer
Defining label/outputs for time-series RNN / LSTM
Let's say I'm predicting weather, and I want to use 7 days of weather data (made up of 5 parameters) to predict the next day's temperature. So each training batch has a sequence of 7 timesteps (7 days of weather data) to make up the X data,…

BigBadMe
- 1,754
- 1
- 19
- 27
0
votes
1 answer
Shape of test / validation data for RNN / LSTM
I'm training a RNN using LSTM, I understand how to present the training data as a 3D tensor in the form [batch size, timesteps, features], but I'd like some clarification for the test/validation data; am I right in thinking the test/validation data…

BigBadMe
- 1,754
- 1
- 19
- 27
0
votes
1 answer
Self Organizing Map to split datasets
I am trying to use Self Organizing Map to split datasets into training, validation and test sets.
I created the SOM model,
dimension1 = 10;
dimension2 = 10;
net = selforgmap([dimension1 dimension2],100,3,'hextop','linkdist');
[net, tr] =…

Neel
- 3
- 4
0
votes
0 answers
Training and Test Data Predictions
So I was posed this question:
(a) The training set contains 1000 observations on 7 covariates with the last (the 8th)column containing a continuous response variable. Predict the response variable from the covariates.
(b) The test set contains a…

Electrino
- 2,636
- 3
- 18
- 40
0
votes
1 answer
Is it good practice to add a column specifying test set and train set?
I found a tutorial a while back but cannot locate it again that created an extra column in both the train and the test set that specified true or false for being the training set. I have the code but could not locate where I found…

Fiboniz
- 37
- 6
0
votes
0 answers
How to generate test data for models created by loopback over mongodb?
I have 45 models created in loopback with relations. I don't know how to insert test data into these collations by keeping relations.
Update:
models are not independent they have defined relations has one or has many or belongs to relations.…

RSA
- 1,417
- 4
- 22
- 37
0
votes
2 answers
FindMinimum of function with Mathematica
I fitted some function via Mathematica in a way like this
parameter = {a, b};
parameter
data = {{0, 1.2}, {0, 0.1}, {0.1, 0.2}, {1.1, 0}}
Ftest[x_, y_] := a*x^2 + b*y^2
fit = FindMinimum[Total[(Ftest @@@ data - 2)^2],…

YaY
- 333
- 1
- 4
- 14
0
votes
1 answer
How to plot test data into svm.plot of R package e1071?
I have built a SVM model using the R package e1071 and the iris data set. I have split up the iris data into a training and test data and built the SVM from the training data. Now I would like to plot the test data into the same plot that show the…

oli
- 23
- 6
0
votes
1 answer
Python assign some part of the list to another list
I have a dataset like below:
In this dataset first column represents the id of a person, the last column is label of this person and rest of the columns are features of the person.
101 166 633.0999756 557.5 71.80000305 60.40000153 2.799999952 1 …

user951487
- 845
- 7
- 19
- 30
0
votes
1 answer
Are there any benifits of Automated test data generator?
In our testing team we are planning for a automated test data generator tool. I am not sure what are it's benefits. is it good to invest time in a test data generator tool?
In one of the case, we cannot use the production data, so we need data at…

Keshav
- 415
- 2
- 12
0
votes
1 answer
Testing data creating in JPA project
I have question about the creation of testing data in webapp running in Glassfish with JPA (and JSF).
I usually create class like TestDataCreator which generates some basic testing database environment. This class contains main method like:
public…

martlin
- 158
- 2
- 10
0
votes
1 answer
WPF Designer crashed and stopped showing Test Data permanently
It happened again. My test data is not shown any more. I see only class and property names. Restarting does not help this time. Retracing neither.
I've been rewriting my whole project since that happened.
Now I tried to use Test Data class to…

zORg Alex
- 372
- 2
- 15
0
votes
1 answer
Logistic Regression: x and y training data errors in binomial variable (glm, glmnet formula)
I'm trying to perform logistic regression with training/testing on my data set which is a matrix. The end result is supposed to tell me how accurate the prediction of the binomial variable will be. R keeps telling me I need an nx2 matrix but I don't…

Gabriel
- 405
- 1
- 6
- 16