A non-transitory computer-readable storage medium storing an operation program of an image processing apparatus, the program causing a computer to execute a process comprising:
- generating, as learning data used for training a machine learning model with medical images and correct data and examination results of medical examinations, new medical images from a first medical image and a second medical image among a plurality of the medical images according to a generation condition, wherein the correct data is a medical image that has been classified into a correct class based on the examination results of the medical examinations;
- and
- generating new examination results, as the learning data used for training the machine learning model with the medical images and the correct data and the examination results of the medical examinations and the correct data, by performing calculation based on the generation condition on a first examination result of the medical examination corresponding to the first medical image and a second examination result of the medical examination corresponding to the second medical images, wherein the generation condition depends on whether classes of the first medical image and the second medical image are the same or different from each other.