The study describes the algorithms used in the formation of individual learning content which can be used in machine learning. The algorithm for generating educational content based on the input test procedure, thereby reducing the number of elementary units of knowledge in the educational conten