1. A machine learning apparatus learning an operating command for an electric motor, the machine learning apparatus comprising: a status observing part observing an ambient temperature of an electric motor apparatus that includes the electric motor and a controller controlling the electric motor, and a cycle time of the electric motor as status variables, a judgment data acquiring part acquiring judgment data judging if overheating has occurred in the electric motor apparatus, and a learning part learning an operating command to the electric motor in accordance with a training data set prepared based on a combination of the status variables and the judgment data.