The reasons for consumers’ resale behavior are complex and sometimes diverse, and the investigation of consumer resale behavior is not a simple matter. Therefore, only through a lot of investigation and inquiry can we reach relevant conclusions. Based on machine learning and BP neural network, this paper constructs a consumer online resale behavior measurement model. The contraction-expansion factor can balance the global search and local search capabilities in different iteration periods, and the differential evolution operator is introduced to solve the problem of lack of population diversity. After building the model, this study collects data through questionnaires, and combines neural network training models to take data training and data prediction. In addition, this study compares and analyzes real data with predicted data, and visually displays the comparison results through statistical graphs. The results show that the method proposed in this paper has certain effects and can provide theoretical references for subsequent related research.