An advanced spectrum analyzer was developed to solve the problem of express quality assessment of dairy products. Machine learning methods were used to process the results. The result of processing was a digital image of the sample and a graph in the space of principal components