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, 2019 in Machine Learning by Hardik
836 views

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 11, 2019 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, 2019 in Machine Learning by MANOJ
• 130 points
890 views
0 votes
1 answer

If both negative and positive skewness are present in data set,then how it can be removed??

Hi@shama, It depends on your use case. If ...READ MORE

answered Dec 8, 2020 in Machine Learning by MD
• 95,460 points
769 views
0 votes
1 answer

Training and testing data in machine learning

Unsupervised learning is used with the K-means ...READ MORE

answered Feb 23, 2022 in Machine Learning by Dev
• 6,000 points
571 views
0 votes
1 answer

Training and testing data in machine learning

Unsupervised learning is used with the K-means ...READ MORE

answered Mar 2, 2022 in Machine Learning by Dev
• 6,000 points
686 views
+4 votes
9 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
2,190 views
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
824 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

What is greedy approach in Decision tree algorithm?

“Greedy Approach is based on the concept ...READ MORE

answered May 13, 2019 in Machine Learning by Upadhya
14,866 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP