Weird behavior in Class methods vs StaticMethods in Pyspark

Note, using Spark 2.0.0 with python 2.7 I just found a very weird behavior in PySpark. I will show it with an example. Who knows, maybe this can help someone else. I am processing a list of text files containing data in jsonlines format. After some fiddling…

Raspberry reminder

Tired of realizing at 4 am that I was supposed to go to bed at midnight, I took my raspberry pi from it box and finally gave it a good use. I made a small app that allows you to send reminders to the raspberry headphone from your main computer…

Install CUDA on Ubuntu 16.04

For the record, my graphic card is a GTX 870M. Install Nvidia recommended drivers. You can find it out by using the command ubuntu-devices drivers. It will tell you the recommended driver you should install via apt-get (I installed nvidia-361). 2.Restart 3.Download CUDA Toolkit from here or Direct…

Video, A primer on recommendation systems

Last April I gave a talk on PyData Madrid 2016 about recommendation systems. Here is the video in case you wanna check it out. And here is the repository with the slides, code & data.…

Modifying NYT ingredient tagger to a sole python implementation

NOTE: This is a jupyter notebook converted to markdown. As such, it does not look quite good. The original notebook can be seen here. .highlight{background: #f8f8f8; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .1em;padding:0em .5em;border-radius: 4px;} .k{color: #338822; font-weight: bold;} .kn…