A machining apparatus is provided with a machine learning device that performs machine learning. The machine learning device performs the machine learning by receiving the input of machining accuracy between a machining shape of a workpiece measured on-machine and design data on the workpiece and machining time of the workpiece measured by a measurement device. Based on a result of the machine learning, the machining apparatus changes machining conditions such that the machining accuracy increases and the machining time becomes as short as possible.