According to existing data, many kindergartens in various places are ineffective in their development and implementation of educational technology. The level of informatization development varies in different regions. With the popularization of information technology in preschool education, there has been a certain accumulation of data in various areas of preschool education. However, data on the unsafe behaviors of young children have the dual characteristics of imbalance and sparsity. By introducing an integrated model of under-sampling, feature selection, and ensemble learning, the integrated recognition of unsafe behaviors has been achieved, and computer programming calculations have been applied to actual preschool education models. The application of big data technology in optimizing preschool education models has also been studied.