Code a Neural Network with Numpy

Introduction The vectorized operations have been discussed in the last post Maths in a Neural Network: Vectorization. This post will focus on implementing the equations with numpy. Equations proved in the previous posts [1] [2]: Note that this network takes one sample input at a time, I'll discuss batch prediction/training later. Feed-forward: $latex A^{(l)}= f^{(l)}(Z^{(l)})&s=2$ $latex … Continue reading Code a Neural Network with Numpy

Django Template Translation (i18n) for Window

Setup Download gettext Install the binary executable and make sure select "Add application directory to your environmental path" option. Run the following instruction through makemessages -l en   If you are using PyCharm, pressing ALT + CTRL + R will show you the task popup If everything is fine you will see the … Continue reading Django Template Translation (i18n) for Window

Connect to Raspberry Pi via SSH WiFi through Router

Setup: Enable the SSH server from the config menu: sudo raspi-config Setting up WiFi for the Pi: In order to connect to the Pi via SSH through router, we have to fix the IP address of the Pi. In order to allow the Pi sending requests to the server (localhost in my laptop), we have … Continue reading Connect to Raspberry Pi via SSH WiFi through Router