A control device optimizing a correction parameter of a control law for performing feed rate control in a wire electrical discharge machining process, the control device comprising a machine learning device (20; 50) comprising: a state observation unit configured to observe, as a state variable, condition data indicative of a condition for performing a wire electrical discharge machining process, wherein the state variable comprises a machining shape defined by a machining program and/or machining specifications, a determination data acquisition unit configured to acquire determination data, wherein the determination data being indicative of the correction parameter of the control law used for performing feed rate control of the wire electrical discharge machining process, wherein the determination data acquisition unit acquires the correction parameter as the determination data after the wire electrical discharge machining process has been done, when an actual machining precision of the workpiece is measured and it is determined that a desired machining precision has been achieved; and a learning unit configured to learn, using the state variable and the determination data, the correction parameter in association with the condition for performing the wire electrical discharge machining process, wherein the learning unit includes: an error calculation unit configured to calculate an error between a correlation model that derives, from the state variable and the determination data, the correction parameter for performing the wire electrical discharge machining process and a correction feature identified based on teacher data prepared in advance; and a model updating unit configured to update the correlation model such that the error is reduced. a state observation unit configured to observe, as a state variable, condition data indicative of a condition for performing a wire electrical discharge machining process, wherein the state variable comprises a machining shape defined by a machining program and/or machining specifications, a determination data acquisition unit configured to acquire determination data, wherein the determination data being indicative of the correction parameter of the control law used for performing feed rate control of the wire electrical discharge machining process, wherein the determination data acquisition unit acquires the correction parameter as the determination data after the wire electrical discharge machining process has been done, when an actual machining precision of the workpiece is measured and it is determined that a desired machining precision has been achieved; and a learning unit configured to learn, using the state variable and the determination data, the correction parameter in association with the condition for performing the wire electrical discharge machining process, wherein the learning unit includes: an error calculation unit configured to calculate an error between a correlation model that derives, from the state variable and the determination data, the correction parameter for performing the wire electrical discharge machining process and a correction feature identified based on teacher data prepared in advance; and a model updating unit configured to update the correlation model such that the error is reduced. an error calculation unit configured to calculate an error between a correlation model that derives, from the state variable and the determination data, the correction parameter for performing the wire electrical discharge machining process and a correction feature identified based on teacher data prepared in advance; and a model updating unit configured to update the correlation model such that the error is reduced.