A Real Machine Learning App from scratch with Dash

In the following article, I will present a machine learning app I created from scratch.

1. The goal

What I wanted to build was an app that would take as input a brain MRI image. …


Solving MDPs using reinforcement learning

In this article, I will show you how to implement the value iteration algorithm to solve a Markov Decision Process (MDP). It is one of the first algorithm you should learn when getting into reinforcement learning and artifical intelligence.

Reinforcement learning is an area of Machine Learning that focuses on…


Using Monte Carlo Simulation to Make Real Life Decisions

Recently, I was faced with a very difficult decision to make. I had to choose between various job offers that were all interesting, for different reasons. After a couple of sleepless nights, I realized one thing: why not use the tools at my disposal to help me make the decision?


Showing you multiple ways to reach out to people using Python

In this tutorial, I will show you multiple ways of sending emails using Python. This can be useful in many projects or cases where you need to share any type of information to different people in a fast, easy and secure way.

The traditional way: SMTPLIB

The library is the most popular one when…


Using GPT-2 to generate quality song lyrics

Natural Language Generation (NLG) has made incredible strides in recent years. In early 2019, OpenAI released GPT-2, a huge pretrained model (1.5B parameters) capable of generating text of human-like quality.

Generative Pretrained Transformer 2 (GPT-2) is, like the name says, based on the Transformer. It therefore uses the attention mechanism…


Hands-on Tutorials

Using numbers to show that fans do make a difference

In most countries, people are no longer allowed into stadiums, at least not in their normal capacity.

Any fan, of any sport, will tell you that watching games without fans is just not the same. There is a missing element.

While the spectacle might not be the same, this unlikely…


Arsenal has been declining ever since it’s departure in 2018

Form is temporary, class is permanent. That used to be the saying at Arsenal. The club just lost 7 of its last 9 games. They just lost their 4th home game in a row. They haven’t scored more than one goal in a game since October.

Im not sure if…


Understanding the revolutionary NLP deep learning model

If you are here to learn more about the movies, sadly, this is not the article you are looking for. I love Optimus Prime and Megatron as much as the next guy, but here, I will be talking about Transformer, the deep learning model!

The Transformer was first introduced in…


Data cleaning, EDA, feature engineering and Machine Learning with Pyspark

Pyspark is a Python API that supports Apache Spark, a distributed framework made for handling big data analysis. It’s an amazing framework to use when you are working with huge datasets, and it’s becoming a must-have skill for any data scientist.

In this tutorial, I will present how to use…


Because the 5 traditional positions are no longer enough

About 5 months ago, I stumbled upon this article on TheScore. The summary: the traditional 5 positions are no longer enough to describe NBA players. The game has changed after all. …

François St-Amant

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store