A non-transitory computer readable storage medium storing a computer program configured to execute, by a processor, quality determination processing for determining quality of inspection data using a machine learning model of a vector neural network type including a plurality of vector neuron layers, the computer program comprising:
- (a) generating a plurality of pieces of training data by classifying a plurality of pieces of data of a non-defective product into a plurality of classes and assigning a plurality of labels distinguishing the plurality of classes to the plurality of pieces of data of the non-defective product;
- (b) executing learning of the machine learning model using the plurality of pieces of training data;
- (c) preparing a known feature spectrum group obtained based on an output of at least one specific layer among the plurality of vector neuron layers when the plurality of pieces of training data are input to the learned machine learning model;
- and
- (d) executing quality determination processing of the inspection data using the learned machine learning model and the known feature spectrum group, wherein
- the (d) includes
- (d1) calculating a feature spectrum based on the output of the specific layer in response to an input of the inspection data to the machine learning model,
- (d2) calculating a similarity between the feature spectrum and the known feature spectrum group, and
- (d3) determining the inspection data to be non-defective when the similarity is equal to or greater than a preset threshold value, and determining the inspection data to be defective when the similarity is less than the preset threshold value.