Machine Learning
Decision Boundary Plot in Python with scikit-learn
Plot a classifier's decision boundary with scikit-learn's DecisionBoundaryDisplay, compare six models on the same data, and see overfitting as a jagged boundary.
Plot a classifier's decision boundary with scikit-learn's DecisionBoundaryDisplay, compare six models on the same data, and see overfitting as a jagged boundary.
Estimate a treatment effect from observational data with the DoubleML package, understand partialling out and cross-fitting by building it by hand, and see when flexible controls beat linear regression.
Plot feature importance in Python with scikit-learn, compare impurity-based importances to permutation importance on a test set, and see why the two can disagree.