Giter Site home page Giter Site logo

triple-descent-paper's Introduction

Triple descent

This file describes how to regenerate all the figures provided in the paper "Triple descent in deep learning : Bridging the gap between linear and nonlinear".

  1. NN model

The corresponding Python code is found under the folder nn-numeric. The simulation data is too large to be saved here, but can be regenerated using run.py. This requires Pytorch, Slurm. Runtime: a few days on 8GPU. The notebook analysis.ipynb will generate the corresponding figures in the paper.

  1. RF model

a) Numerical simulations (figs 4, 7, 11, 14)

The corresponding Python code is provided in rf-numeric.ipynb. Data is stored under the data folder, and figures may be readily generated. The data may be regenerated using the functions provided. Runtime: a few minutes on a laptop.

b) Analytical phase space (figs 3, 10, 13)

The corresponding Python code is provided in rf-analytic.ipynb. Data is stored under the data folder, and figures may be readily generated. The data may be regenerated using the functions provided. Runtime: a few minutes on a laptop.

c) Spectra and bias-variance decomposition (figs 4, 5, 6)

The corresponding Mathematica code is provided in under the Mathematica folder. Data is stored under the data folder, and figures may be readily generated using mathematica_plots.ipynb. The functions to compute the eigenspectra of \Sigma are in Spectrum_RF.nb. Runtime: a few seconds on a laptop. The functions to compute the bias-variance decomposition are in UseMe.nb. Runtime: a few minutes on a laptop.

triple-descent-paper's People

Contributors

westny avatar sdascoli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.