-
Exploring song lyrics with GLoVe
Word vectors are a way to represent words in a high-dimensional space. The most commonly known word vectors are those obtained from the `word2vec` algorithm, which tries to find vectors that are predictive of neighbouring words. For a very good introduction to word vectors, we recommend this presentation by... Continue reading...
-
Visualising the Critical Role transcript with Word2Vec
Lately, we have taken an interest in natural language processing (NLP). One technique that has gathered much traction the past years is Word2Vec (or a similar algorithm like GLoVe). To learn more about such word embedding algorithms, we decided to make a web app to visualise the language of... Continue reading...
-
A calmer way to digest the news
For the past year, the news have made us more and more anxious, and we have caught ourselves *doomscrolling* a bit too much. Therefore, we decided to change how we consume news, and do it through haikus instead of headlines. We take the RSS feed from NRK, the governmental broad... Continue reading...
-
Finding the dream apartment with Python
Recently, we decided to buy an apartment. However, finding the "dream" apartment is no easy task. Searching for listings in Oslo took much of our time, and we seldomly found one that ticked all boxes. The commute time was especially frustrating since we had to find it manually for each... Continue reading...
-
Create your own webcam stickers in Python
Recently, we watched this video by CodingTrain, where Daniel Shiffman shows how we can create a JavaScript app to add custom stickers to zoom video feeds. We thought this was a really awesome project, and wondered if we could achieve something similar could be with Python instead! Additionally,... Continue reading...
-
Teaching a large course at a university
In the spring of 2020, I had the pleasure of teaching the introduction to programming course at the Norwegian University of Life Sciences. This course is one of the largest at the university with almost 450 enrolled students. I learned a lot while teaching that course, and in this blog... Continue reading...
-
Managing a Python project
This tutorial will teach you to manage a project, and publish it on PyPI. This guide is majorly influenced by the following tutorial. Continue reading...
-
Parallel programming in Python
It is sometimes stated that parallel code is difficult in Python. However, for most scientific applications, we can achieve the level of parallelism without much effort. In this notebook I will show some simple ways to get parallel code execution in Python. Continue reading...