Pātuhitia tēnei: Incorporating Machine Learning in Search and Planning Problems