Blog

Beyond Accuracy: Classification Metrics and Class Imbalance in MLJ.jl

Why accuracy lies on imbalanced data, and how precision, recall, F1, ROC-AUC, and precision-recall curves tell the real story — built up from the math and implemented in Julia with MLJ.jl, on a synthetic churn dataset with a known, verified answer.

  • julia
  • mlj
  • machine-learning
  • classification
  • statistics

A Practical Guide to Sampling Methods, in R and Julia

Simple random, systematic, stratified, and cluster sampling, plus the bootstrap — explained with the math, implemented in both R and Julia, and checked with a Monte Carlo simulation that shows exactly why stratified sampling wins and cluster sampling doesn't.

  • statistics
  • r
  • julia
  • data-science
  • sampling

A/B Testing and Statistical Significance, Explained With a Simulation

What a p-value actually means, why 'statistically significant' isn't the same as 'real,' and why peeking at your A/B test results early quietly wrecks your false-positive rate — demonstrated with a runnable Monte Carlo simulation, not just formulas.

  • statistics
  • python
  • data-science
  • a-b-testing
  • experimentation

MLJ.jl vs Scikit-Learn: A Deep Dive Into Julia's Machine Learning Toolbox

A comprehensive guide to MLJ.jl — Julia's unified machine learning framework — with worked examples, a feature-by-feature comparison against scikit-learn, and an honest look at where each one wins.

  • julia
  • mlj
  • machine-learning
  • scikit-learn
  • data-science

The Complete Guide to Julia DataFrames.jl

A comprehensive, example-driven tour of DataFrames.jl — every core feature explained and benchmarked against pandas, NumPy, and R, so you know exactly when Julia's data tooling pulls ahead.

  • julia
  • dataframes
  • pandas
  • numpy
  • r
  • data-science
  • performance

Demystifying Logistic Regression: From Mathematics to Production-Ready Python

A comprehensive guide to Logistic Regression covering math fundamentals, loss functions, regularization (L1/L2), and a complete, interactively-plotted Python implementation with NumPy, Pandas, Scikit-Learn, and Bokeh.

  • machine-learning
  • python
  • data-science
  • scikit-learn
  • algorithms