Questions tagged [test-data]
246 questions
0
votes
1 answer
How can I get a BLOB and add it to my configuration?
I have a web api that uses a bunch of appSettings files to load test data.
I want to shift the location of that data to an Azure Blob.
Based on the test infrastructure, I'd like to convert the Blob into an IConfiguration object.
To accomplish this,…

Rolan
- 2,924
- 7
- 34
- 46
0
votes
1 answer
How can I predict single sample of data using min max scaler when I am training the model with min max scaled data?
As explained in similar question, one can easily test the data when you have a set of samples.
If the user has to predict the target of a single sample, then how to proceed. Please help.
Thanks.

praveen kumar yethirajula
- 139
- 1
- 8
0
votes
1 answer
How to restrict test data method call for respective Test method by using TestCaseSource attribute in NUnit
I am using NUnit for the Selenium C# project. In which I have many test methods. For getting data (from excel) I am using a public static method that returns IEnumerable which I am calling at test method level as TestCaseSource. I am…

Jakkala
- 1
- 1
0
votes
0 answers
How to test your prediction for insurance company dataset?
I have a dataset of an insurance company for my data science class project. My ultimate business objective in this project is to sell more policies to existing customers/customer segments.
Firstly, I want to cluster my customers through k-mean model…

Taylan
- 736
- 1
- 5
- 14
0
votes
1 answer
Extract a subset of the test set filtered by a condition
I have split my data set into training and test:
from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.25, random_state=0)
then I computed a predictor and associated score. I now…

rustyDev
- 187
- 1
- 12
0
votes
2 answers
Logistic regression training and test data
I am a beginner to R and am having trouble with something that feels basic but I am not sure how to do it. I have a data set with 1319 rows and I want to setup training data for observations 1 to 1000 and the test data for 1001 to 1319.
Comparing…
user3230594
0
votes
2 answers
Split dataset into training and test by month
I was not able to find the answer to this anywhere. I have data for three months, where I would like to split it into the first two months('Jan-19', 'Feb-19') as training set and the last month as the test ('Mar-19').
Previously I have done random…

Reddress
- 3
- 4
0
votes
2 answers
How to filter a data frame column by date?
I have a data set that I use for machine learning. However, I want to divide my data set into training set and test set. My training set should be made of all the loans issued until September. My test will include the rest (ie, Q4-Oct, Nov, Dec).…

Revolucion for Monica
- 2,848
- 8
- 39
- 78
0
votes
0 answers
Pandas find the percentage of overlap and split to train test
I am running a ML experiment in python and I am stuck with data that have overlaps.
I am having a dataframe with multiple columns and the rows between entries are to a big extent similar to subsequent rows.
Are there pandas functions that can split…

Alex P
- 137
- 1
- 13
0
votes
2 answers
How can I read and process part of file and write the rest to another file?
I need to read this csv file with Panda, perform some process on it and write the rest 10% of the data to another sheet.
Given this solution (https://stackoverflow.com/a/55763598/3373710), I want to do a process on the rest of store_data after…

user91
- 365
- 5
- 14
0
votes
0 answers
Appropriate way to deal with missing value in both training and test data
In the medical data, it's normal that there are lots of missing value.
Now I am dealing with the data with tens of numerical features and many of them have lots of missing value for sure.
The dataset has only 188453 data(time stamp) with label 0 or…

CW.Chou
- 33
- 3
0
votes
2 answers
How to get absolute path with TestDataFactory in Katalon Studio
I used to have a excel sheet bound to my test case by
def dataUserPass = TestDataFactory.findTestData("myTable")
where "myTable" is relative id of a file located at C:/Users/myself/git/my-project/Data Files/myTable.
Recently I moved my code to a…

Mate Mrše
- 7,997
- 10
- 40
- 77
0
votes
1 answer
Different scenario based queries on Imputing and Machine Learning
I am new to Data Science and learning to impute and about model training. Below are my few queries that I came across when training the datasets. Please provide answers to these.
Suppose I have a dataset with 1000 observations. Now I train the…

Aman
- 979
- 3
- 10
- 23
0
votes
0 answers
Parameterized test generate test data dynamically
I have a junit test method which i test against the parameterized generated data sets
@Parameterized.Parameters
public static Collection primeNumbers() {
return Arrays.asList(new Object[][] {
{ readRequestFile(reqFile1),…

Tayab Hussain
- 831
- 9
- 16
0
votes
1 answer
Choose training and test set for MLP and Hopfield network
I have a question regarding the choice of the training and the test set for a Multilayer Perceptron (MLP) and a Hopfield network.
For example, assume that we got 100 patterns of the digits 0-9 given in a bitmap format. 10 of them are perfect digits…

sarotnem
- 349
- 4
- 14