Rajat

Tech Blog

Python Image API using Google Cloud Functions
06 MAR 2020 - 10 MINS

I wanted to display some of the photos I’ve taken on my blog. I didn’t really want an existing Bootstrap gallery component because most of the existing examples were quite...

Highly Efficient Iterative Matrix Multiplication Algorithm
20 OCT 2019 - 10 MINS

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt...

Vectorized Set Operations In Numpy
03 OCT 2019 - 10 MINS

Both builtin Python sets and NumPy arrays (ndarrays) can efficiently perform set operations where Python lists would be impractical. Due to the differences in their underlying implementations however the types...

Normal Equation And Least Squares
20 SEP 2019 - 10 MINS

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt...

A Greedy Gradient Function Approximator
14 SEP 2019 - 10 MINS

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt...

Polluting The Global Namespace Is A Crime Worthy Of Death
05 SEP 2019 - 4 MINS

I recently came across an error very similar to this one in a colleagues’ code when he was using pyspark for an exploratory data analysis - can you guess what...

Bayesian Time Series Modelling Using Facebook Prophet
05 JUL 2019 - 10 MINS

Time series analysis is known to be a particularly challenging area of data science. I would put this down to three key factors: Datasets tend to be quite small. So...

Efficient Python Implementation Of Fourier Series Visualisation
25 MAR 2019 - 10 MINS

Describe what the Fourier transform does - takes a signal from the time domain to the frequency s-domain. So I looked into the Fourier series a lot a A-level when...

Difference Between Fourier Series And Fourier Transform
20 MAR 2019 - 10 MINS

The Fourier Series1 of a periodic function allows us to represent the function in terms of a summation of sinusoids (sines and cosines of varying powers). The Fourier Transform extends...

Estimating Reading Times For My Site
16 MAR 2019 - 10 MINS

Visualising The Central Limit Theorem With Gnuplot
14 MAR 2019 - 10 MINS

Gnuplot is a command line based graphing tool that has really stood the test of time. Three decades on it is still quite popular and commonly used in university maths...

Mean Squared Error As Maximum Likelihood Estimation
14 MAR 2019 - 10 MINS

Anyone who has read about machine learning will be familiar with the Mean Squared Error (MSE) as loss function in a supervised learning model. If we generalise a bit, and...