fbpx

All Posts By: Alfred Ang

Natural Language Processing Python

NLP with Hugging Face Transformer

If we want state of the art transformer package for Natural Language Processing (NLP), then I would highly recommend Hugging Face Transformer The Hugging …

Algorithmic Trading Python

Visualize Stock Price Time Series

In this blog, we will show how to import the stock price time series from Yahoo Finance and visualize using Pandas. To import data …

Algorithmic Trading Python

Algorithmic Trading with Python

Algorithmic trading (also called automated trading, black-box trading, or algo-trading) uses a computer program that follows a defined set of instructions (an algorithm) to …

Python Statistics

Compute Binomial Distribution using Python from Scratch

Binomial distribution model is an important probability model that is used widely when there are two possible outcomes, for example positive reviews and negative …

Python Tensorflow Keras

Feature Map Visualization Using Tensorflow Keras.

It is a good idea to visualize the feature maps for a specific input image in order to to understand what features of the …

Python Tensorflow Keras

Sentimental Analysis Using Tensorflow Keras.

Recurrent Neural Network (RNN) model has been very useful to processing sequential data. Tensorflow Keras is a great platform to implement RNN as the …

Python Tensorflow Keras

Time Series Forecasting using Tensorflow Keras

Recurrent Neural Network (RNN) model has been very useful to predict time series data.. Training on Tensorflow Keras is a great platform to implement …

Python Pytorch

Transfer Learning with Pytorch

Transfer learning is a powerful way to solve overfitting issue related to small dataset. Pytorch Training is a powerful deep learning framework to implement …

Python Pytorch

Stock Price Forecasting using LSTM

LSTM has been very useful to predict time series data. We have previously discussed about the time series forecasting using Pytorch Deep Learning framework …

Pandas Python Scikit Learn

Convert Categorical Features to Integers with Scikit Learn

Machine Learning requires all the categorical features to be numbers. Often we need to convert the categorical text to integers. We can readily do …

Python Pytorch

Comparison of LSTM, GRU and RNN on Time Series Forecasting with Pytorch

In this article, we will compare the performance of LSTM, GRU and vanilla RNN on time series forecasting using Pytorch Deep Learning platform. Given …

Python Pytorch

Linear Regression with Pytorch

There are two ways to compute a simple linear regression using Pytorch. One is to use the optimizer update method, and one is to …