Eight Portions
  • Home
  • Datasets
  • Resources
  • About

Eight Portions


Ryan's personal blog on applied data science and various related topics

Eight Portions


Ryan's personal blog on applied data science and various related topics

Building an automatic chicken coop door controller

Automating chicken ownership

Posted on May 31, 2020

My wife and I got three backyard chickens a few months ago. There was a lot of setup work initially, but we eventually settled into a routine that didn’t require much daily work. One pain point was waking up early... [Read More]

Better pandas indexing

Improving pandas dataframe row access performance through better index management

Posted on December 15, 2018

Millions of people use the Python library Pandas to wrangle and analyze data. I, being one of those users, noticed a few months ago something peculiar: accessing rows by an index reference through .loc can be significantly slower when using... [Read More]

Serving an image classifier via API in 16 lines of code

Simple API serving for a pre-trained Keras DenseNet model with ServeIt

Posted on March 13, 2018

ServeIt is an open source library that lets you easily serve model predictions and supplementary information from a RESTful API on any domain using your favorite Python ML library. This post illustrates the process of deploying a pre-trained ImageNet classifier... [Read More]

Look before you scrape

Finding hidden APIs through client-side XHR monitoring

Posted on February 11, 2018

Web scraping is frequently used when no suitable public data can be found in a structured format. Unstructured or semi-structured data served on static websites or web applications can be scraped programmatically and structured for analysis. But before reaching for... [Read More]

Kaggle competition rewards

Do larger competition rewards increase participation?

Posted on January 14, 2018

Kaggle is a popular online platform for data science competitions. Competition hosts can post their data online, and data scientist from around the world compete to build the best algorithm for the host’s needs. [Read More]
  • Older Posts →

Ryan Lee  •  2022  •  eightportions.com

Theme by beautiful-jekyll