Stock Backtesting in Python is way of testing our strategy in a historical data to see if our strategy makes any money or not. Let’s start with a simple story. John and Joe are two best friends. They both earned some money from their hard working corporate job and wanted to invest it in a […]
Machine Learning
PCA From Scratch In Python
PCA is a method of dimensional reduction. When a machine learning method has a large number of features, we must choose the features that contribute the most and ignore the datasets that are less significant. This is where PCA comes into play. Consequently, PCA is an unsupervised method for choosing useful datasets from a huge […]
Intro to OpenCV for Image Processing with Python
OpenCV is a multi-platform Image Processing tool which provides lots of algorithms and processes. This notebook was written in 2019 by me when I was just learning, and I missed to add the author of images used from the internet. All images are taken from the internet and credit goes to original authors. Contains Introduction […]
Intro to CNN with Keras
CNN with Keras is easiest way to create CNN (Convolutional Neural Networks. But Why? Images I used in this blog are not owned by me and the full credit goes to the author of images. This blog was written in 2019 but I forgot to publish it that time and does not contain everything. Why […]
News Classification with Simple Neural Network
News Classification with Simple Neural Network is one of the application of Deep Learning. And here in this part of the blog, I am going to perform a Nepali News Classification. Before jumping into the main part, I would love to share some of my previous contents based upon which this blog has been written. […]
Manipulation of Word Vectors
To manipulating vectors means to perform some arithmetics operation on these vectors. By performing some arithmetics on vectors resulting vectors or any value can represent very interesting fact or inside. This is very interesting inside that we perform some operation on the given data and result represent more interesting fact about the data. This blog […]
Stock Price Prediction On Commercial Data Using RNN
A type of neural network called a recurrent neural network (RNN) uses the output from a previous step as input for the current step. Traditional neural networks have inputs and outputs that are independent of one another, but there is a need to remember the previous words in situations where it is necessary to anticipate […]
Stock Price Prediction On Commercial Data Using GRU
GRU are a kind of Neural Networks which are designed to overcome some issues with RNN. There are two primary issues with recurrent neural networks Calculations of gradients either fail or explode. Gradient calculations are expensive Gradient clipping is a solution to the expanding gradient problem, and other topologies like the gated recurrent unit (GRU) […]
Building Image Size Reducer Tool In Python
Image Size Reducer is much needed tool these days because most site wants us to upload various documents in the form of image but with the size limit. Modern days camera gives us image with size in megabytes but the server or site we need to upload the site has size limitation. There are sites […]
Stock Price Prediction On Commercial Data Using LSTM
LSTMS are a variety of RNNs but lets start with RNNs. RNNs are unable to remember long-term dependencies in time series data because of the vanishing gradient issue. An RNN version called LSTM was created to deal with this problem. Similar to RNN, LSTM features a hidden state that functions as short-term memory. Additionally, it […]