2019-12-07

Difference between model-based and model-free reinforcement learning

3 mins read To answer this question, let’s revisit the components of an MDP, the most typical decision-making framework for RL. An MDP […]
2019-12-06

Reinforcement Q-Learning from Scratch in Python with OpenAI Gym

24 mins read Most of you have probably heard of AI learning to play computer games on their own, a very popular example […]
2019-12-06

Understand Q-Learning in Reinforcement Learning with a numerical example and Python implementation

14 mins read This tutorial introduces the concept of Q-learning through a simple but comprehensive numerical example.  The example describes an agent which […]
2019-12-06

What is q-learning?

5 mins read Introduction One of my favorite algorithms that I learned while taking a reinforcement learning course was q-learning. Probably because it […]
2019-12-04

Understanding Metaclasses in Python

31 mins read At first word, Metaprogramming seems a very funky and alien thing but if you have ever worked with decorators or metaclasses, you were […]
2019-12-03

Everything you should know about Python Decorators – A complete tutorial on Python Decorators

49 mins read A decorator takes in a function, adds some functionality, and returns it. In this article, you will learn how you […]
2019-11-16

Deploy Django with Postgres, Nginx, and Gunicorn on Ubuntu 18.04

17 mins read Introduction Django is a powerful web framework that can help you get your Python application or website off the ground. […]
2019-11-06

What’s the difference between a proxy server and a reverse proxy server?

11 mins read What is a reverse proxy? A reverse proxy is a server that sits in front of web servers and forwards […]
2019-11-05

Deploying Django application to a production server

12 mins read If you have been developing your web application with Django on a development server and wondered, how I’m going to put […]
2019-11-04

Steps to Deploy Django with Postgres, Nginx, and Gunicorn on Ubuntu 18.04

6 mins read In this guide, I will go through all the steps to create a VPS, secure it and deploy a Django […]
2019-10-20

Install Elasticsearch 7 and Kibana on Ubuntu

2 mins read Use the following commands to install Elasticsearch itself: wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - sudo apt-get install […]
2019-08-25

Distributed representations vs. local representations in deep learning

7 mins read The concept of distributed representations is often central to deep learning, particularly as it applies to natural language tasks. Those […]
2019-08-24

What are Word Embeddings and how do they work? An introduction to Word2Vec (CBOW and Skip Gram)

22 mins read Word embedding is one of the most popular representations of document vocabulary. It is capable of capturing the context of […]
2019-08-19

Implementing LSTM Networks in Python with Keras

27 mins read A powerful and popular recurrent neural network is the long short-term model network or LSTM. It is widely used because […]
2019-08-19

How to reshape Input Data for Long Short-Term Memory (LSTM) Networks in Keras

9 mins read It can be difficult to understand how to prepare your sequence data for input to an LSTM model. Often there […]