An information processing apparatus comprising: a determining unit configured to determine whether to generate a learned model that estimates a value relating to a component included in a device, based on at least one of a measurement value measured by each sensor of the device, an anomaly diagnosis result of the device, a result of controlling the device, or a condition relating to the device, an estimating unit configured to estimate the value relating to the component by a predetermined estimation method, based on at least one of the measurement value measured by each sensor of the device, the anomaly diagnosis result of the device, or the result of controlling the device, wherein the determining unit is configured to determine to generate the learned model, when an error between the value estimated by the estimating unit and an actual measurement value of the value relating to the component is greater than or equal to a threshold, the information processing apparatus being characterized by: an anomaly determining unit configured to determine that the component has an anomaly, when the determining unit determines not to generate the learned model and the error between the estimation value and the actual measurement value of the value relating to the component is greater than or equal to a first threshold, and determine that the component has an anomaly, when the determining unit determines to generate the learned model and the error between the estimation value and the actual measurement value of the value relating to the component is greater than or equal to a second threshold that is greater than the first threshold. a determining unit configured to determine whether to generate a learned model that estimates a value relating to a component included in a device, based on at least one of a measurement value measured by each sensor of the device, an anomaly diagnosis result of the device, a result of controlling the device, or a condition relating to the device, an estimating unit configured to estimate the value relating to the component by a predetermined estimation method, based on at least one of the measurement value measured by each sensor of the device, the anomaly diagnosis result of the device, or the result of controlling the device, wherein the determining unit is configured to determine to generate the learned model, when an error between the value estimated by the estimating unit and an actual measurement value of the value relating to the component is greater than or equal to a threshold, the information processing apparatus being characterized by: an anomaly determining unit configured to determine that the component has an anomaly, when the determining unit determines not to generate the learned model and the error between the estimation value and the actual measurement value of the value relating to the component is greater than or equal to a first threshold, and determine that the component has an anomaly, when the determining unit determines to generate the learned model and the error between the estimation value and the actual measurement value of the value relating to the component is greater than or equal to a second threshold that is greater than the first threshold.