Tagged: tutorial

Finding the Right Model (Multinomial NB, RNN, SGDClassifier)

Part of this entire writeup Goal Find a model to accurately predict a relevant XKCD given multiple words (a reddit comment). This essentially gave me a bunch of positively single-labeled data since each comment usually only had one “relevant XKCD” sub-comment attached. Example: Searching “Python” would return...

Retrieving Data From Google BigQuery (Reddit Relevant XKCD)

So I embarked on a machine learning quest. Here are my notes on how I obtained the data.   My first attempt a few months ago was to download the entire Reddit Corpus (in CSV form) and manually parse the comments. However, it soon became clear the my...

Reddit Relevant XKCD

So I embarked on a machine learning quest as a senior project. With all these advances in AI, I wanted to have some fun myself :P. You can view it here. I was inspired by Dan Zhang and Megan Ruthven’s Relevant XKCD finder. They used ExplainXKCD to populate...

Webscraping with Selenium [Ruby, Firefox, OSX]

This article requires knowledge of Ruby, the concept of webscraping, and HTML. Make sure you have Ruby installed (use RVM if you don’t have it yet) — I’m using 2.3.1 right now. If you want a reference sheet, I’m in the process of writing one :P. Link...