Why data set always divided in training data and test data in regressions?

0 votes
In regression, why is data set always divided into training data and test data?
May 10 in Machine Learning by Hardik

1 answer to this question.

0 votes

Let me explain the process of prediction algorithms. The first step is collecting the data, which might or might not be processed. This is called historical data. This data is pre-processed and converted into human understandable data also called as information. This is called random sampling. Now the data is divided into training data and test data. The training data is used to train the model, as the name suggests and the test data is used for testing the predictions made by the model after training. If the predictions are accurate enough then the model works perfectly fine. If your model does not work then you have to retrain the model(It's an iterative process). 

I hope it's clear why the dividing into training data and test data is required. 

answered May 10 by Mishra

Related Questions In Machine Learning

+1 vote
0 answers

text mining new set of data in production environment expect training feature

Hi, I have trained a model based on ...READ MORE

Nov 28 in Machine Learning by Manu
• 130 points
0 votes
0 answers

Train-test split with 20% of data set aside - ML

I have an assignment of Making a ...READ MORE

May 24 in Machine Learning by Kim
+3 votes
8 answers

Will robots take over surgeons?

Yes we will definitely need a surgeon ...READ MORE

answered Nov 30, 2018 in Events & Trending Topics by anonymous
0 votes
1 answer

How is machine learning used to detect objects?

To understand the surrounding environment in real ...READ MORE

answered Nov 30, 2018 in Others by Kailash
0 votes
2 answers

How do neural networks used in AI and deep learning learn?

A neural network is a hardware or software ...READ MORE

answered Apr 8 in Others by SA
• 1,030 points
0 votes
1 answer