Text this: Machine Learning with Metaheuristic Algorithms for Sustainable Water Resources Management