The composite material random alternating loads data and model code has been used in the paper “Prediction of residual stiffness of composite materials under random vibration loading using a combined probabilistic random forest and probabilistic stiffness model” in ASCE-ASME Journal of Risk and Uncertainty in Engineering Systems, Part A: Civil Engineering. The codes include the data used for Fig. 6, Fig. 8, and Fig. 10. Random forest.ipynb is used in this paper for probabilistic random forest stiffness prediction.