As mechanized open-pit coal mining intensifies, assessing and predicting slope stability has become increasingly important. To address the limitations of traditional mechanical calculations, numerical simulations, and physical experiments, this paper identifies the key factors impacting slope stability in open-pit mines and develops a multi-parameter sample data set. The study employs hyperparameters optimized using a Bayesian algorithm, introduces additional convolutional layers, and combines the Adam optimizer with dropout techniques to enhance the feature extraction and performance of one-dimensional convolutional neural networks (1D-CNN). This leads to a Bayesian-optimized one-dimensional convolutional neural network (B-1D MCNN) model for predicting slope stability.The study evaluates the classification performance and accuracy of various models for slope stability, including BP neural networks, genetic algorithm-optimized convolutional neural networks, 1D-CNN, and B-1D MCNN, using accuracy, precision, and F1-score as metrics. The analysis also examines the influence of factor indicators and training set length on the model's output to assess its generalization capabilities.The research findings suggest that: (1) the B-1D MCNN model for evaluating slope stability demonstrates the capability to accurately depict the nonlinear correlation between influencing factors and slope stability. (2) Compared with other models, the B-1D MCNN model has shown enhancements of 10.96% to 27.85%, 10.26% to 28.55%, and 8.98% to 25.05% in terms of Accuracy, F1-Score, and Precision, respectively. (3) As the length of the training dataset increases, the performance of the model improves accordingly. (4) The B-1D MCNN model shows a generalization power of 87.5%.