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
Tag: Python
Communication between Raspberry Pi and multiple Arduinos via Bluetooth Low Power (BLE)
Tutorial about controlling multiple Arduinos via Bluetooth Low Power (BLE) with python multi-threading.
Django Template Translation (i18n) for Window
Setup Download gettext http://mlocati.github.io/gettext-iconv-windows/ Install the binary executable and make sure select "Add application directory to your environmental path" option. Run the following instruction through manage.py: makemessages -l en If you are using PyCharm, pressing ALT + CTRL + R will show you the manage.py task popup If everything is fine you will see the … Continue reading Django Template Translation (i18n) for Window
Install pip in the Raspberry Pi & using requests for HTTP request via JSON
Setting up pip and making HTTP JSON request with python
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: http://raspberrypihq.com/how-to-add-wifi-to-the-raspberry-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