.. blogpost:: :title: Pipeline visualization :keywords: scikit-learn, pipeline :date: 2019-02-01 :categories: machine learning :epkg:`scikit-learn` introduced nice feature to be able to process mixed type column in a single pipeline which follows :epkg:`scikit-learn` API: `ColumnTransformer `_ `FeatureUnion `_ and `Pipeline `_. Ideas are not new but it is finally taking place in :epkg:`scikit-learn`. As *a picture says a thousand words*, I tried to do something similar to what I did for `nimbusml `_ to draw a :epkg:`scikit-learn` pipeline. I ended it up implemented function :ref:`pipeline2dot ` which converts a pipeline into :epkg:`DOT` language as :epkg:`scikit-learn` does for a decision tree with `export_graphviz `_. I created the notebook :ref:`visualizepipelinerst`.