Eight Portions
  • Home
  • Datasets
  • Resources
  • About

Eight Portions


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

Eight Portions


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

What is the true depreciation cost of driving one mile?

A multivariate analysis of used car prices

Posted on December 18, 2022

Many factors affect a vehicle’s market value but two of the most important factors are vehicle age and mileage. The average American vehicle travels about 14,000 miles per year, per the 2019 FHA data. Most publicly available depreciation estimates are... [Read More]

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

Ryan Lee  •  2022  •  eightportions.com

Theme by beautiful-jekyll