Text this: Robust machine-learned algorithms for efficient grid operation