Text this: Application of Machine Learning for Adaptive Trajectory Control of UAVs Under Uncertainty