Recent Posts

Model error quantification

less than 1 minute read

When we train a machine-learning model, we almost always report some performance metric, such as accuracy, recall, or F1-score.

Pandas: Pipe function

less than 1 minute read

Pandas introduced pipe() starting from version 0.16.2. pipe() enables user-defined methods in method chains.

Sklearn: Tree diagram

less than 1 minute read

The plot_tree() function allows you to create a diagram of steps present in a decision tree model:

Sklearn: Pipeline diagram

less than 1 minute read

Estimators can be displayed with a HTML representation when shown in a jupyter notebook. This can be useful to diagnose or visualize a Pipeline with many ...

Sklearn: Column transformations

less than 1 minute read

The Scikit-learn pipeline has a function called ColumnTransformer which allows you to easily specify which columns to apply the most appropriate preproces...