We require only 3 easy steps to create a simple Facebook Messenger using Flask & PyAIML ? Create a webservice to accept & reply message Deploy the webservice online so it could be accessed by Facebook Create a Faceboook Messenger app and register the webservice as a webhook Create a webservice Verify identity by comparing… Read More
Understanding LeNet (LeCun, 1998)
As an attempt to understand Convolutional Neural Network (CNN/ConvNet) better, I was suggested to read the section about LeNet5 in the original paper and figure out where every numbers come from ? Input layer The input of this neural network is an image of size 32*32 pixels where each pixels are represented by an input… Read More
Loopback automatic creation & modification timestamp
In certain cases, it’s convenience to have automatic creation & modification timestamp where system automatically records when and who create/update a record. So far, I find that the most efficient way to do this in Loopback is by utilizing hook feature. Based on the docs, there are 3 types of hooks provided by loopback based… Read More
Restricted Boltzmann Machine with DeepLearnToolbox
In attempt to learn about deep learning’s fundamentals (and to fulfill a course assignment too), I tried to write a simple Restricted Boltzmann Machine (RBM) in GNU Octave by extracting Deep Belief Network (DBN) code example of DeepLearnToolbox. In case you are wondering, RBM is a machine learning algorithm that is promoted by Geoffrey Hinton… Read More
Bash script to batch-convert MKV to MP4 (Linux)
I have been looking a simple way to convert my *.mkv TV series collections to *.mp4 so I can watch it on my TV. Luckily, I stumbled upon a post in stackoverflow about it. So I took the code and modified it a bit so it can automatically find all *.mkv files in a directory… Read More