Despite lack of compact guides in the internet, deploying Laravel 5.4 project in cheap shared hosting (with no SSH support) is actually quite simple. The steps are: 1. Import database to the shared hosting’s database using available tool such as phpMyAdmin 2. Upload the content of public directory in your Laravel project to public area… Read More
Training NER model using Stanford Core NLP CRF Classifier
Named-Entity Recognition (NER) is one of the most popular NLP tasks. It’s popular because it produces annotation result that can be used directly (eg. extracting people name from text) or indirectly (eg. extracting feature for classification task). One of the easiest way to do it is by downloading and using latest Stanford Core NLP suite… Read More
Simple Facebook Messenger bot using Python Flask and PyAIML
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