queirozf.com

paper-summary

Paper Summary: SMOTE: Synthetic Minority Over-sampling Technique

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

Read More ›

scikit-learn production machine-learning-engineering

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

Mutate for Pandas Dataframes: Examples with Assign

15 Jul 2018   Assign is a function that mutates a dataframe in place and can be used for chained operations.

Read More ›

pandas

Pandas Query Examples: SQL-like queries in dataframes

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

Read More ›

paper-summary multi-label structured-learning hierarchical-learning natural-language-processing

Paper Summary: Multi-Label Classification on Tree- and DAG-Structured Hierarchies

02 Jul 2018   Summary of the 2011 article "Multi-Label Classification on Tree- and DAG-Structured Hierarchies" by Bi and Kwok.

Read More ›

paper-summary natural-language-processing

Paper Summary: The Natural Language Decathlon: Multitask Learning as Question Answering

30 Jun 2018   Summary of the 2018 article "The Natural Language Decathlon: Multitask Learning as Question Answering" by McCann et al.

Read More ›

flask scikit-learn

Example Project Template: Serve a Scikit-learn Model via a Flask API

27 Jun 2018   Full (albeit simple) example on how to create a simple Flask API to serve predictions using a pre-trained scikit-learn model. Includes supporting features such as logging, error handling, input validation, etc. Full code available on Github.

Read More ›

permissions linux

Default Permissions for Users, Directories and Files on Linux: Examples

23 Jun 2018   Set default permissions for all files/directories created by a user on Linux using umask. Additionally, use Access Control Lists (ACLs) for all files and directories created under a given directory too.

Read More ›

matplotlib labels annotation

Add Labels and Text to Matplotlib Plots: Annotation Examples

23 Jun 2018   Examples on how to add simple annotations and labels to your matplotlib plots.

Read More ›