all articles
Statistical Rethinking (Ch. 2)
This article provides solutions and explanations for the exercises in Chapter 2 of Statistical Rethinking, focusing on foundational concepts in Bayesian statistics and probabilistic reasoning
Statistical Rethinking (Ch. 3)
This article provides solutions and explanations for the exercises in Chapter 3 of Statistical Rethinking, focusing on foundational concepts in Bayesian statistics and probabilistic reasoning
K-Means
The article provides a comprehensive guide to implementing the K-Means clustering algorithm from scratch, exploring its functionality, optimization, and hyperparameter tuning, and compares it with Scikit-Learn's implementation
PCA with Eigenvalue Decomposition
This article provides a step-by-step guide to performing Principal Component Analysis (PCA) using Eigenvalue Decomposition (EVD), explaining the theoretical foundation, practical implementation, and visualization of principal components in a bivariate dataset
PCA with Single Value Decomposition
This article explains how to perform Principal Component Analysis (PCA) using Singular Value Decomposition (SVD), demonstrating its implementation, variance preservation, and practical applications with detailed examples and visualizations
Linear Regression
This article explains the mathematical foundations, practical implementation, and evaluation of linear regression, including confidence intervals for coefficients and a comparison between manual and Scikit-Learn implementations
R Data Types
This article provides a comprehensive guide to R data types and structures, including vectors, matrices, arrays, lists, data frames, factors, and tables, detailing their creation, manipulation, and use cases with practical examples
Bayesian Optimization
This article provides a step-by-step guide to implementing Bayesian optimization in Python, including designing the algorithm from scratch using NumPy and SciPy, applying it with Python libraries like scikit-optimize, and visualizing the process for optimizing a noisy objective function
Genetic Algorithm Introduction
This article introduces genetic algorithms, explaining their biological inspiration, core components, and implementation through a Python example to optimize for a target string using selection, crossover, and mutation
Character Analysis
This article analyzes character frequencies and transitions in text using histograms and heatmaps, implementing Python code to visualize and interpret patterns in character dependencies and transitions
Speed of Julia
This article explores the impressive speed of the Julia language and compares it to Python using an example
Coding the Card Game: War
This article details a Python-based simulation and analysis of the card game War, exploring game dynamics, recursive strategies, statistical trends, and variations in game rules, supported by visualizations and code implementation