1. A machine learning apparatus that learns a condition associated with a gain of a magnetic flux controller and a time constant of a magnetic flux estimator in a motor control apparatus, the machine learning apparatus comprising: a state observation unit that observes a state variable defined by at least one of data relating to an acceleration of a motor, data relating to a jerk of the motor, and data relating to an acceleration time of the motor; and a learning unit that learns the condition associated with the gain of the magnetic flux controller and the time constant of the magnetic flux estimator in accordance with a training data set defined by the state variable.