juweek
banner
juweek.bsky.social
juweek
@juweek.bsky.social
I use code to make diagrams #dataviz #data #creativecode #p5js

gourmetdata.substack.com
Ugh, I thought I had it but its somewhere buried in my bookmarks. I'll try to dig it up
October 29, 2025 at 3:03 PM
cool animation! what software did you use?
October 19, 2025 at 1:50 PM
hand drawn charts are always so fun
February 10, 2025 at 11:28 PM
what a great cover
February 10, 2025 at 11:26 PM
here’s what the new dataset looked like, and how the model predicted if they were ‘preferred’ or not (1 is preferred). the results were pretty solid, with a protein-fat threshold somewhere around 5:1

i think ML can be confusing, but understanding what's going on makes it less so
February 6, 2025 at 5:00 PM
similarly, i have a section dedicated to one of python's default classification models. i wrote this back when ML was new to me, but it's fun seeing myself cover fundamentals

I selected a regression model, defined a training set, and trained a script for binary classification
February 6, 2025 at 5:00 PM
the next step was preprocessing the data. I go into more detail in my guide, but here’s a screenshot of what I did. Basically, I made the data as easy to process as possible—standardizing, scaling, and encoding each food item into different categories. data science basics
February 6, 2025 at 5:00 PM
here was what the distribution of the foods looked like. i believe it was per 100g serving
February 6, 2025 at 5:00 PM
the goal was to create a model that could classify foods based on if they met my protein-fat ratio requirements. i got the data from USDA FoodData nutritional database

here’s how the raw data looked . There are fields for Descrip (the actual food item) and a bunch of nutrients
February 6, 2025 at 5:00 PM