Python & Machine Learning
7 posts3 years of writing
- Building a FastAPI Backend with SupabaseBuilding a FastAPI Backend with Supabase: Connections, GET vs POST, and JWT Security
- Understanding a Python Configuration Class From Environment Variables to Frozen DataclassesDeep dive into building robust, type-safe, immutable application configuration classes in modern Python.
- Understanding dataclass from first principlesUnderstanding how Python dataclasses work under the hood, why they exist, and how they reduce boilerplate.
- Why from __future__ import annotations Exists?Explaining deferred type evaluation in Python, PEP 563, and why from __future__ import annotations is essential.
- Understanding GridSearchCVA clear explanation of hyperparameter optimization and cross-validation using Scikit-learn GridSearchCV.
- Why do we need to subtract 3 in word index in IMDb dataset from Tensorflow?Solving the common mystery of why index 3 must be offset when decoding sequences in Keras IMDb reviews.
- Sampling DistributionsFoundational concepts in statistical inference, sampling distribution of the mean, and the Central Limit Theorem.