Sina's Blog

CS and AI

Programming

11 posts

3 min readAIProgramming

Two DDPG Agents Learning to Play Tennis

After the Banana Collector I moved on to Unity’s Tennis environment, which is harder in two ways. The actions are continuous, so DQN’s trick of taking the max over four actions doesn’t work anymore. And there are two agents, each one sitting inside the other’s environment.

2 min readAIProgramming

Training a DQN Agent to Collect Bananas in Unity

This was the first RL agent I trained end to end. The environment is Unity’s Banana Collector: a square arena full of yellow and blue bananas. Yellow is worth +1, blue is worth −1, and the agent has to work out which is which from a stream of numbers.

1 min readLinuxProgramming

Install Python 3.7 on CentOS with All Dependencies

In this post, I will go through installing Python 3.7 and all its dependencies on CentOS. Unlike Ubuntu, Python is not readily accessible using yum package manager on CentOS. Therefore, we first need to install a few packages before installing Python.

1 min readMacOSProgramming

How to Install LAPACK on Mac OS

This is a question I get asked a lot. LAPACK is actually included in the Accelerate library provided by Apple. You can include it in the header file of your C++ source code. Refer to this post for more information on how to use LAPACK included in Accelerate.