Skip to content

Category: Python

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 XKCD comics that…

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 their dataset. It’s…

Google Directory API

Google’s Admin SDK developer webpages are very confusing… Google Groups API & Directory API Requirements: Apparently to use any API, you must be using google apps for Business, Education, or Non-Profit. There must also be a valid domain name under that account. Having a group ending with “@googlegroups.com” will give you…