I would like to prepare a ensemble model of the three-level stacking learning type in python. The model is shown in the image below: stacking learning model