queirozf.com

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 ›

software-engineering

How to Structure Software Projects: Python Example

22 Jun 2018   Here are a couple of templates to structure software projects. You need to think about structure because it is the single largest threat to your codebase as your project grows from small to medium-largish size. If you neglect to maintain project structure you risk having your project suffer death by entropy.

Read More ›

cryptoassets

Crypto Asset Overview: Ravencoin

16 Jun 2018   Short overview with the least you need to know about Ravencoin and the RVN token.

Read More ›

pandas

Pandas Dataframe: Union and Concat Examples

14 Jun 2018   Emulate SQL union and union all behaviour, among other stuff.

Read More ›