python3

Python 3 Subprocess Examples

03 Nov 2018   Examples on how to spawn and control OS-level processes from a python script, using the new Subprocess module.

Read More ›

paper-summary machine-learning

Paper Summary: Statistical Modeling: The Two Cultures

02 Nov 2018   Summary of the 2001 article "Statistical Modeling: The Two Cultures" by Leo Breiman.

Read More ›

awk

Gnu Awk: One-line Examples

28 Sep 2018   Examples on how to use awk commands to process text information on shell scripts.

Read More ›

jupyter python

Interactive controls for Jupyter notebooks: Python Examples

19 Sep 2018   Examples on how to add interactive controls to jupyter notebooks.

Read More ›

python caching

Caching Function Results in Python: Examples using Joblib and Functools

15 Sep 2018   In many cases (web development, data analysis, etc) it's useful to be able to store results that take long to re-compute. These solutions allow you to save results (either in memory or on disk) so that all function calls after the first one become constant-time lookups.

Read More ›

data-science

Risk in Machine Learning Models

06 Sep 2018   Machine Learning models can make actual decisions that affect your business. However, things can go wrong, which introduces risk that must be dealt with.

Read More ›

paper-summary

Paper Summary: SMOTE: Synthetic Minority Over-sampling Technique

01 Sep 2018   Summary of the 2002 article "SMOTE: Synthetic Minority Over-sampling Technique" by Chawla et al.

Read More ›

scikit-learn production

Heads-up for Deploying Scikit-learn Models to Production: Quick Checklist

01 Sep 2018   A couple of tips for addressing common problems and unexpected situations when using scikit-learn models in production..

Read More ›

scikit-learn

Cross-Validation Examples with Scikit-Learn

01 Sep 2018   Using cross-validation within scikit-learn.

Read More ›

pandas

Using SQL-like Syntax with Pandas Dataframe: Query and Eval Examples

05 Jul 2018   Use SQL-like syntax to perform in-place queries on pandas dataframes.

Read More ›