Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 596 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 596 Bytes

Minimal Double Descent

This repository contains the code for demonstrating double descent on an extremely simple binary classification dataset with 6 samples, each with 2 features. The model uses random tanh features with ridge regression.

Due to the simplicity of the dataset and model, this example could potentially be used to demonstrate double descent in a classroom setting, or to test out new ideas.

min_double_descent.py produces a figure showing the peaking phenomenon in test error, test loss, condition number of the random features, and the norm of the weights.