Foundations of Machine Learning For Ecology