Blog

Notes on ML, AI & engineering.

Long-form notes, paper summaries, and case studies on machine learning, AI systems, and engineering.

Mean Can Lie — Discover the Real Insights with Mean and Standard Deviation

The mean alone can be misleading. Learn how standard deviation, normal distributions, the empirical rule, and z-scores reveal the true story hidden in your data.

Statistics
Data Science
Machine Learning
Read →
Jul 6, 2024
3 min read

NER-Powered Semantic Search Engine

Building a semantic search system enhanced with Named Entity Recognition using Pinecone, BERT-NER, and sentence transformers on 50,000 Medium articles.

NLP
Machine Learning
Search
Transformers
Read →
Mar 11, 2023
3 min read

XGBoost Hyperparameter Tuning — XGBRegressor with Scikit-Learn Pipelines

End-to-end XGBoost regression on the NASA airfoil noise dataset using scikit-learn Pipelines, ColumnTransformer, and RandomizedSearchCV for hyperparameter tuning.

Machine Learning
XGBoost
Scikit-Learn
Regression
Read →
Mar 10, 2022
3 min read

A Serverless "Hello, From Lambda!" with AWS Lambda

Build and deploy your first AWS Lambda function from scratch — function handler, test events, CloudWatch logs, and an API Gateway trigger.

AWS
Cloud
Serverless
Read →
Oct 21, 2021
3 min read

Build, Train, and Deploy a Machine Learning Model with Amazon SageMaker

Step-by-step guide to using SageMaker notebook instances to train an XGBoost binary classification model and deploy it as a real-time inference endpoint.

AWS
Machine Learning
XGBoost
Cloud
Read →
Oct 10, 2021
3 min read

Multiclass Image Classification Using Dense Neural Networks

Build a dense neural network with TensorFlow and Keras to classify handwritten digits from the MNIST dataset, achieving 98%+ test accuracy.

Computer Vision
TensorFlow
Deep Learning
Machine Learning
Read →
Aug 14, 2021
3 min read

Introduction to Linear Regression Using TensorFlow

A beginner-friendly guide to building linear regression with TensorFlow and Keras — from the math to a working model that learns y = 2x - 1 in minutes.

TensorFlow
Machine Learning
Regression
Deep Learning
Read →
Aug 11, 2021
3 min read

Nepali Cash Detection and Recognition Using TensorFlow and CNN

Transfer learning with InceptionV3 to detect and classify 7 Nepali banknote denominations, achieving 93% accuracy. Updated in 2023 with more classes and a larger dataset.

Computer Vision
CNN
TensorFlow
Transfer Learning
Read →
Apr 1, 2019
4 min read