Machine learning
What is the different between traing set and test set ? can give a real time example?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mehreen TahirPosted Jan 14, 2019, 9:51 PM
Usually you need two types of datasets when performing supervised learning:
- The dataset that has the input data with correct/expeced output which would be used to train your model. This dataset is known as training set.
- The data you are going to apply your model to. This is the data in which you are interested for the output of your model and want the "expected" output.
So there're going to be two phases while performing machine learning. Training Phase, in which you will present your data from training set and train your model, by pairing the input with expected output. For example we are interested in predicting the type of diabetes a patient has. Our training data will contain all the information related to patient i.e. height, weight, BMI, age, blood sugar level etc. along with the expected out either type A or B. Now comes the Test Phase, in which you'll apply your freshly-developed model to the real-world data and get the results. In this phase, we will feed our model with the test set that will contain the similar patiet information and our model will predict either patient is suffering from type A diabetes or type B. This phase will help you estimate how well your model has been trained. Most commonly the partition ratio of training and test set is 70/30.Rohit GuptaPosted Jul 16, 2019, 5:16 AM
Md SarfarajPosted Jan 17, 2019, 2:41 AM