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 a water tank level monitor

4-20mA sensor, Arduino nano, MQTT messaging, and monitoring dashboard

Posted on July 1, 2022

We recently moved into a rural home running on well water. The well pumps groundwater into a storage tank, which holds about 5,000 gallons of water. However, due in large part to the historic drought in California our well runs... [Read More]

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]
  • Older Posts →

Ryan Lee  •  2022  •  eightportions.com

Theme by beautiful-jekyll