Play with R data sets in Python

Posted on Wed 27 January 2016 in miscLeave a comment

R comes with a plethora of data sets to play with out of the box, which really come in handy when you're exploring how new functions work. While Python's pandas package tries to emulate the best parts of R's data frames, it can be tedious to find ...

Continue reading

Visualizing Daily Caloric Intake

Posted on Wed 18 September 2013 in miscLeave a comment

After much data collection and munging, I'm proud to present this graph of my strange eating habits for July 2013. July's Macros This breaks down my caloric consumption for each day by carbohydrates (blue), fat (green), and protein (red). I have data from March 2013 through August 2013, but I chose ...

Continue reading

First attempts at Lifelogging with Twitter

Posted on Tue 17 September 2013 in misc • Tagged with lifeloggingLeave a comment

Around March 2013, I began tracking the food that I eat, logging workouts, and taking miscellaneous personal notes with Twitter. At first, my goals were simple: start tracking as much as possible and then analyze it later. Over time, I settled on tracking food consumption, workouts, and mood. My hypothesis ...

Continue reading

Exploring the Iris dataset with scikit-learn and ipython

Posted on Tue 02 July 2013 in misc • Tagged with data, python, machine-learningLeave a comment

Today I'll share some of the goodies I've found while exploring scikit-learn's tutorial and practice embedding code snippets in posts. I'll try to avoid just rehashing the tutorial. To get started, scikit-learn (and numpy, which it depends on) should be installed. I also assume we're ...

Continue reading