Using machine learning to accelerate ecological research