Sarit Maitra
Oct 17, 2021

--

In a classification setting, stratified sampling ensures train and test sets have approx. the same percentage of samples of each target class as the complete set. If the data set has a large amount of each class, stratified sampling is quite the same as random sampling.

--

--

Sarit Maitra
Sarit Maitra

Written by Sarit Maitra

Analytics & Data Science Practice Lead

Responses (1)