A Byte of my 2.2-lb Brain

Just sharing stuff…

Machine Learning and the Smart City

On 19 February 2016, I participated as speaker at the Humans+Machines conference organized by the Thinking Machines. Below is a copy of the slide deck I used.

March 10, 2016 · Leave a comment

Tableau Colors in Matplotlib

I love the colors that Tableau uses in plotting. I was so happy I came across Randal Olson’s post titled “How to make beautiful data visualizations in Python with matplotlib.” … Continue reading

September 2, 2015 · Leave a comment

Web Scraping the MMDA Traffic Updates

Metro Manila Traffic Rhythm Thanks to a good friend and colleague**, last week, I learned about the existence of the Metro Manila Development Authority Live Traffic Monitoring System. Below is … Continue reading

September 1, 2015 · Leave a comment

h2o.ai and Python

One of the awesome things I discovered this year is H2O.ai. According to its homepage, H2O is for data scientists and application developers who need fast, in-memory scalable machine learning … Continue reading

August 19, 2015 · Leave a comment

Bash Scripting Aliases

For scripts I usually create a filename.sh and then make the file executable. I learned a new trick today from a colleague, which is to edit the bash_profile. When you … Continue reading

July 31, 2015 · Leave a comment

Detexify

I recently stumbled upon this site called Detexify. It is especially useful for LaTeX users who are working on symbols. If you’re too lazy to find your symbol in CTAN’s … Continue reading

June 29, 2015 · Leave a comment

Python Built-In Function Zip

Say you have a list of lists stored in mylist. Here are some useful methods to play with the data inside. Output: [[1, 5, 9, 11, 18], [2, 4, 10, … Continue reading

June 25, 2015 · Leave a comment

GraphTool Vertex Attributes

It did take me some time to figure out how to obtain a node’s attribute is using Python’s graph-tool package. In this example, we have a directed graph g with … Continue reading

June 23, 2015 · Leave a comment

PyPI Dependency Network

The Python Package Index is a repository of software for the Python programming language. What my colleague Ed David and I did were mine all the packages in the site … Continue reading

June 23, 2015 · 1 Comment

Finding all hashtags in a list of tweets

June 15, 2015 · Leave a comment