Machine Learning Methods for Ecological Applications