Introduction of Holdout Method
Last Updated :
26 Aug, 2020
Improve
Holdout Method is the simplest sort of method to evaluate a classifier. In this method, the data set (a collection of data items or examples) is separated into two sets, called the Training set and Test set.
A classifier performs function of assigning data items in a given collection to a target category or class.
Example -
E-mails in our inbox being classified into spam and non-spam.
Classifier should be evaluated to find out, it's accuracy, error rate, and error estimates. It can be done using various methods. One of most primitive methods in evaluation of classifier is 'Holdout Method'.
In the holdout method, data set is partitioned, such that - maximum data belongs to training set and remaining data belongs to test set.
Example -
If there are 20 data items present, 12 are placed in training set and remaining 8 are placed in test set.
- After partitioning data set into two sets, training set is used to build a model/classifier.
- After construction of classifier, we use data items in test set, to test accuracy, error rate and error estimate of model/classifier.