from sklearn import set_config
set_config(display="diagram") # display='text' is the default
Now, anytime you run a cell block where the last line is a pipeline object, it will "print" it (like always), but now it will display as a picture! (Requires scikit-learn 1.0+)
ML/readme .md ML_worksheet1.ipynbColumnTransformer and pipelines, fit and predictcross_validate and gridsearch_cvML_worksheet2.ipynb: Classification models