I have a stacking workflow which is similar to
import numpy as np from sklearn.linear_model import LogisticRegression from sklearn.pipeline import Pipeline from s