Fixed machine learning automated feedback server

Had been broken for a while, not even sure why.

Fixed it by updating the dependencies and the Python runtime and removing a deprecated function.