Diagnosis of Operating Conditions of the Electrical Submersible Pump via Machine Learning