Machine learning methods for UAV-aided wireless networks