2019-02-01 Pipeline visualizationΒΆ

scikit-learn introduced nice feature to be able to process mixed type column in a single pipeline which follows scikit-learn API: ColumnTransformer FeatureUnion and Pipeline. Ideas are not new but it is finally taking place in scikit-learn.

As a picture says a thousand words, I tried to do something similar to what I did for nimbusml to draw a scikit-learn pipeline. I ended it up implemented function pipeline2dot which converts a pipeline into DOT language as scikit-learn does for a decision tree with export_graphviz. I created the notebook None.