Abstract. This paper is based on the optimization of machine learning models such as SVM (Support Vector Machine) and LightGBM through the application of PSO (Particle Swarm Optimization) and combines shared platform recovery data to provide training material for machine models. The goal is to accelerate the parameter configuration of machine learning models and enhance the rigor of feature selection through the application of algorithmic models. The experimental results show that PSO performs well in optimizing parameters for machine learning models like SVM and LightGBM, achieving high levels in evaluation metrics such as accuracy, recall, precision, and F1 score. Based on this, a framework is proposed for embedding the PSO algorithm into a shared platform architecture, including layers for data collection and preprocessing, algorithm integration and optimization, decision support and service, and feedback and optimization. This framework allows for precise predictions of user behavior, market demand, and other factors, achieving automated scheduling of machine model parameters.