2021-06-06

Python __getattr__ and __getattribute__ magic methods

5 mins read Python Magic Methods Magic Methods are a broad and general term that refers to “special” methods in a Python class. […]
2021-04-28

Python Scipy sparse matrices explained

7 mins read Consider a two-dimensional data set consisting of 5 rows and 7 columns, where each element contains a value. Such data […]
2021-03-26

Handling cyclical features, such as hours in a day, for machine learning pipelines with Python example

11 mins read What’s the difference between 23 and 1? If we’re talking about time, it’s 2. Hours of the day, days of […]
2021-03-01

REINFORCE Algorithm explained in Policy-Gradient based methods with Python Code

17 mins read Policy gradients Policy gradients is a family of algorithms for solving reinforcement learning problems by directly optimizing the policy in […]
2020-11-20

Steps to setup PyTorch with GPU for NVIDIA GTX 960m (Asus VivoBook n552vw) in Ubuntu

3 mins read In this post, I’m gonna describe the steps I used to utilize GPU for the PyTorch Deep Learning framework on […]