Skip to content

chrisliu298/min_double_descent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A minimal example of double descent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages