In this article I’ll explain how I populated the database that powers grammarquiz, a grammar quiz app that I created for the Kodoeba initiative. The code of the application is freely available.
The backstory As you may already know, Tatoeba …
For a few years I regularly use Anki, a flashcard system, to memorize and remember information, in particular German words. This daily activity sometimes feels like a breeze and sometimes more like an endless chore. It requires focus, and …
Note: The whole code for this article is freely available on GitHub
A few weeks ago I saw a talk about Skorch, a library that wraps a PyTorch neural network to use it as a Scikit-learn model.
That is amazing: I can take an existing product …
I love to go around by bike, and Berlin offers a good choice of paths to explore. However, after some years in the city I did realize there were areas I never visited and routes I did so often as to become boring.
Out of curiosity I tried …
After trying regression using k-neighbours, linear and SVR models, I wanted to conclude using neural networks.
I did the 5 deep learning courses from Andrew Ng on Coursera to get a grasp of these models, and decided to use Keras. This …
When using Gensim word2vec on a dataset stored in a database, I was pleased to see the library accepts an iterator to represent the corpus, allowing to process bigger-than-memory datasets. So, I wrote my generator function to stream text …
After trying regression using linear and SVR models, I wanted to try two other methods offered by scikit-learn based on different principles: K nearest neighbor and decision trees.
Nearest Neighbors K-nearest neighbor in this case is …
In the previous article we used a linear regression model to predict the color of an image pixel given a sample of other pixels, then used a hand-written function to enrich the coordinates and add non linearity, seeing how it improves the …
ConvnetJS offers a demo of a neural network which paints an image learning to predict the color of a pixel given its coordinates. I liked the idea as it is immediate and visually appealing, and decided to create a visual comparison of …
Note: this is an old article and while the software is still available and I think the idea is pretty but you probably want to give a look to this. The software here described is probably more flexible, but harder to use.
Some months ago, I …
Some months ago I bought a Raspberry Pi B+ and a Pi noir sensor, with the idea of using it as a small server and take IR pictures.
Once the sensor is attached, it is possible to take pictures with the raspistill command
raspistill -o …
“Terminator” in polacco significa apprendista, e non essendo un nome particolarmente accattivante fu diffuso in Polonia con il nome di assassino elettronico. La creazione di macchine pensanti è sempre stata vista come imminente dal cinema …