Elasticsearch · Relevance · Search

Tuning Relevance in Elasticsearch with Custom Boosting

Elasticsearch offers different options out of the box in terms of ranking function (similarity function, in Lucene terminology). The default ranking function is a variation of TF-IDF, relatively simple to understand and, thanks to some smart normalisations, also quite effective in practice. Each use case is a different story so sometimes the default ranking function… Continue reading Tuning Relevance in Elasticsearch with Custom Boosting

Data Visualisation · Javascript · Maps · Python

Mining Twitter Data with Python (and JS) – Part 7: Geolocation and Interactive Maps

Geolocation is the process of identifying the geographic location of an object such as a mobile phone or a computer. Twitter allows its users to provide their location when they publish a tweet, in the form of latitude and longitude coordinates. With this information, we are ready to create some nice visualisation for our data,… Continue reading Mining Twitter Data with Python (and JS) – Part 7: Geolocation and Interactive Maps

Functional Programming · Python

Functional Programming in Python

This is probably not the newest of the topics, but I haven’t had the chance to dig into it before, so here we go. Python supports multiple programming paradigms, but it’s not best known for its Functional Programming style. As its own creator has mentioned before, Python hasn’t been heavily influenced by other functional languages,… Continue reading Functional Programming in Python