A computer-readable medium storing a learning-model generating program causing a computer to execute a process is provided. The process includes: extracting feature values from an image for learning that is an image whose identification information items are already known, the identification information items representing the content of the image; generating learning models by using binary classifiers, the learning models being models for classifying the feature values and associating the identification information items and the feature values with each other; and optimizing the learning models for each of the identification information items by using a formula to obtain conditional probabilities, the formula being approximated with a sigmoid function, and optimizing parameters of the sigmoid function so that the estimation accuracy of the identification information items is increased.
展开▼