Statistics for Machine learning in astronomy