Rishabh Singh
HomeAboutServicesProjectsOpen SourceBlogVisitorsContact

v2025 · Next.js + Tailwind

Back to portfolio

Writing on AI, ML & System Design

Blog

24 articles — technical deep-dives on machine learning, Python, and web development.

24 articles

How I Built My Data Science Portfolio with Next.js and GitHub Pages (Free)
Jul 7, 2026guides

How I Built My Data Science Portfolio with Next.js and GitHub Pages (Free)

A step-by-step guide to building a free data science portfolio with Next.js static export, Tailwind CSS, and GitHub Pages — plus what to put in it so recruiters actually care.

PortfolioNext.jsCareer
Read article
Transformer Architecture Explained in a Minute
Jun 1, 2026In a Minute

Transformer Architecture Explained in a Minute

Transformer architecture explained in 5 minutes: 6 components, Attention formula, encoder vs decoder, GPT vs BERT. Visual breakdown, no fluff.

Transformer ArchitectureMachine LearningAI
Read article
Confidence Interval vs Prediction Interval Explained
Jul 3, 2026In a Minute

Confidence Interval vs Prediction Interval Explained

An interactive simulation showing why CI and PI are fundamentally different things. One band covers the mean line. The other catches new individual points.

StatisticsLinear RegressionData Science
Read article
Forecasting in a Minute
Mar 13, 2026In a Minute

Forecasting in a Minute

What is forecasting, why it matters, 6 types, and how inline forecasting works — with a real interest-rate decision model walkthrough.

ForecastingAnalyticsFinance
Read article
SVMs & Kernel Trick Explained
Jul 6, 2025In a Minute

SVMs & Kernel Trick Explained

Support Vector Machines: optimal hyperplane, support vectors, kernel trick, and 4 kernel types with gamma tuning.

Machine LearningSVMKernel Trick
Read article
CNNs Explained — Convolutional Neural Networks in a Minute
Jun 26, 2024In a Minute

CNNs Explained — Convolutional Neural Networks in a Minute

CNN architecture in one read: kernel, stride, padding, pooling, flattening — how images flow from pixels to predictions.

Deep LearningCNNComputer Vision
Read article
Scalars, Vectors, Matrices & Tensors Explained
Jul 1, 2024In a Minute

Scalars, Vectors, Matrices & Tensors Explained

From a single number to n-dimensional arrays — scalars, vectors, matrices, and tensors defined, notated, and compared in one read.

Machine LearningLinear AlgebraDeep Learning
Read article
Multiclass vs Multilabel Classification Explained
Jun 19, 2024In a Minute

Multiclass vs Multilabel Classification Explained

Binary, multiclass, and multilabel classification: one label vs many labels, with real examples and when to use each.

Machine LearningClassification
Read article
Confusion Matrix & Metrics Explained
May 30, 2024In a Minute

Confusion Matrix & Metrics Explained

TP, TN, FP, FN, accuracy, precision, recall, F1, specificity — every classification metric defined and applied.

Machine LearningClassification Metrics
Read article
Bayesian Learning Explained
May 18, 2024In a Minute

Bayesian Learning Explained

Bayes theorem, prior, likelihood, posterior — how beliefs update with evidence, with disease diagnosis and horse race examples.

Machine LearningBayesianStatistics
Read article
Linear Regression Explained
Apr 11, 2024In a Minute

Linear Regression Explained

y=mx+b, cost function (MSE), gradient descent, R² score, multivariable regression — with Python implementation.

Machine LearningLinear Regression
Read article
Support Vector Machine (SVM)
Sep 15, 2023In a Minute

Support Vector Machine (SVM)

SVM: hyperplanes, margins, support vectors, C and gamma tuning, 4 kernels, and Iris dataset implementation with scikit-learn.

Machine LearningPython
Read article
Lazy Loading vs Eager Loading
Feb 4, 2024Web Development

Lazy Loading vs Eager Loading

How the HTML loading attribute defers images until needed — reducing load time, bandwidth, and improving SEO.

Web DevelopmentPerformance
Read article
CORS in Flask — Bridging Frontend and Backend
Jan 31, 2024Web Development

CORS in Flask — Bridging Frontend and Backend

How Cross-Origin Resource Sharing works and how flask-cors fixes CORS errors between your frontend and Flask API.

PythonFlaskWeb Development
Read article
HTTP Methods — Enhancing Web Communication
Jan 30, 2024Web Development

HTTP Methods — Enhancing Web Communication

GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS explained with Python requests library examples.

Web DevelopmentHTTP
Read article
Flask Session for Login
Apr 6, 2023Web Development

Flask Session for Login

Step-by-step session-based login in Flask: secret key, login route, protected route, logout — with full code.

PythonFlask
Read article
List vs Set in Python — Performance, Use Cases
Jul 6, 2025Python

List vs Set in Python — Performance, Use Cases

List vs Set in Python: iteration speed, O(1) membership testing, memory trade-offs, and exactly when to use each — with benchmark results.

PythonData StructuresPerformance
Read article
Sets Performance Better vs Lists — Why?
Jan 11, 2024Python

Sets Performance Better vs Lists — Why?

Hash tables, O(1) average-case operations, and when sets dramatically outperform lists in Python.

PythonData Structures
Read article
Python Virtual Environment — Introduction
Aug 13, 2022Python

Python Virtual Environment — Introduction

Why virtual environments exist, how virtualenv creates isolated Python environments, and the commands to use them on Linux and Windows.

PythonVirtual Environment
Read article
Conda Virtual Environment & Commands
Dec 5, 2022Python

Conda Virtual Environment & Commands

Essential conda commands: create, activate, install (conda + pip), deactivate, and delete environments — the Anaconda workflow.

PythonAnaconda
Read article
requirements.txt in Python
Aug 24, 2022Python

requirements.txt in Python

Two commands every Python developer needs: pip freeze captures your environment, pip install -r recreates it anywhere.

Pythonpip
Read article
Python Matrix Multiplication — 3 Methods
Jul 17, 2022Python

Python Matrix Multiplication — 3 Methods

Nested loops, list comprehension, and NumPy.dot() — three ways to multiply matrices in Python with working code examples.

PythonNumPy
Read article
Convert Python Program to exe
Jul 24, 2022Python

Convert Python Program to exe

PyInstaller and auto-py-to-exe — two ways to bundle Python apps into standalone executables users can run without Python installed.

PythonPyInstaller
Read article
if __name__ == '__main__' in Python
May 14, 2023Python

if __name__ == '__main__' in Python

The __name__ variable, top-level code, and why guarding entry-point logic prevents unintended execution when a module is imported.

PythonProgramming
Read article

© 2026 Rishabh Singh · Data Scientist & AI Engineer

PrivacyGitHubLinkedInMedium