Giter Site home page Giter Site logo

pcr_spiked_covariance's Introduction

No Double Descent in Principal Component Regression

This is the official repository for the paper "No Double Descent in Principal Component Regression: A High-Dimensional Analysis" by Daniel Gedon, Antônio H. Ribeiro and Thomas B. Schön. which is presented at ICML 2024.

Paper summary

In this paper, we study the double descent phenomenon in the context of Principal Component Regression (PCR). We utilise the spiked covariance model to generate the data and derive the asymptotic risk of PCR using random matrix theory. The analysis is also extended to distribution shift scenarios.

Requirements

The code has been tested for Python 3.7.4. The notebook requires

  • numpy
  • matplotlib
  • scipy
  • tqdm

Demo

We provide a simple demo in a Jupyter notebook. This notebook contains:

  • spiked covariance data generation
  • PCR model in simulation
  • PCR model with analytical results
  • Baseline: Full regression simulation
  • Baseline: Full regression with analytical results

Citation

If you use this code in your research or find it helpful, please consider citing the paper:

@inproceedings{gedon2024pcr,
  title={No Double Descent in Principal Component Regression: A High-Dimensional Analysis},
  author={Gedon, Daniel and Ribeiro, Ant{\^o}nio H and Sch{\"o}n, Thomas B},
  booktitle={International Conference on Machine Learning},
  year={2024},
  organization={PMLR}
}

pcr_spiked_covariance's People

Contributors

dgedon avatar

Stargazers

Antonio Horta Ribeiro avatar

Watchers

 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.