Sample Size Estimation For Machine Learning