Profile Views

Welcome to my collection of notes and guides about software development, focusing on modern technologies and best practices.

Machine Learning

  • Machine Learning Resources - Curated list of courses, books, and tools for learning machine learning
  • Describing Data - scales of measurement, mean versus median, why variance divides by n − 1, what correlation does and does not see, and causation without correlation
  • What a Model Learns - Y = f(X) + ε, prediction versus inference, the bias–variance decomposition measured, double descent, honest test error and k-nearest neighbours
  • Linear Regression, Read Correctly - least squares on 32 real cars, what 95% confidence means, what a p-value is not, why R² misleads, collinearity, suppressors and selection on noise
  • Classification - logistic regression, a coefficient that flips sign, perfect separation, LDA, QDA and naive Bayes compared, the confusion matrix, thresholds, ROC and AUC
  • Cross-Validation and the Bootstrap - validation sets, k-fold and LOOCV measured, what CV really estimates, screening inside the loop, the bootstrap, bagging, and where the bootstrap fails
  • Decision Trees and Their Ensembles - CART from scratch, cost-complexity pruning, Gini vs error rate, how unstable trees are, and bagging, random forests and boosting on a benchmark
  • Principal Components and k-Means - PCA as most variance and closest line, USArrests and why scaling matters, Lloyd’s algorithm and local minima, choosing K, and where k-means fails
  • Neural Networks and Backpropagation - neurons and activations, gradient descent and mini-batches, backpropagation derived and solved by hand, initialisation, vanishing gradients, and a playground

Kotlin Multiplatform

Computer Vision

Associative Memory

Spiking Neural Networks

  • Spiking Neural Networks Reference and Resources - the course, books, papers, datasets and tools behind these notes
  • From ReLU to Spikes - the leaky integrate-and-fire neuron, why a spiking neuron is an RNN, where ReLU comes from, and a spiking CNN running in the browser
  • Seeing in Events - how event cameras work, a pixel-level simulator, why a moving camera kills sparsity, converting video with v2e, and turning events into tensors
  • Training Spiking Networks - why the spike has no useful gradient, surrogate gradients, backpropagation through time, and experiments on real DVS Gesture recordings
  • Counting Energy - MACs, accumulates and neuron updates, how NeuroBench counts them, and what the DVS Gesture networks really cost
  • From ANN to Akida - train a frame CNN, quantize it to 8 and 4 bits, convert it with CNN2SNN and run it in BrainChip’s Akida simulator: accuracy, events and limits

Insights