RMT4ML
Matlab Notebook for visualizing random matrix theory results and their applications to machine learning
Install / Use
/learn @Zhenyu-LIAO/RMT4MLREADME
RMT4ML
This repository contains MATLAB and Python codes for visualizing random matrix theory results and their applications to machine learning, in Random Matrix Theory for Machine Learning.
In each subfolder (named after the corresponding section) there are:
-
a
.htmlfile containing theMATLABor IPython Notebook demos -
a
.mor.ipynbsource file -
Chapter 1 Introduction
- Section 1.1 Motivation: The Pitfalls of Large-Dimensional Statistics
- Section 1.2 Random Matrix Theory as an Answer
- Section 1.3 Outline and Online Toolbox
-
Chapter 2 Random Matrix Theory
- Section 2.1 Fundamental Objects
- Section 2.2 Foundational Random Matrix Results
- Section 2.2.1 Key Lemma and Identities: Matlab code and Python code
- Section 2.2.2 The Marcenko-Pastur and Semicircle Laws: Matlab code and Python code
- Section 2.2.3 Large-Dimensional Sample Covariance Matrices and Generalized Semicircles: Matlab code and Python code
- Section 2.3 Advanced Spectrum Considerations for Sample Covariances: Matlab code and Python code
- Section 2.4 Preliminaries on Statistical Inference
- Section 2.4.1 Linear Eigenvalue Statistics: Matlab code and Python code
- Section 2.4.2 Eigenvector Projections and Subspace Methods: Matlab code and Python code
- Section 2.5 Spiked Models: Matlab code and Python code
- Section 2.6 Information-plus-Noise, Deformed Wigner, and Other Models
- Section 2.7 Beyond Vectors of Independent Entries: Concentration of Measure in RMT
- Section 2.8 Concluding Remarks
- Section 2.9 Exercises
-
Chapter 3 Statistical Inference in Linear Models
- Section 3.1 Detection and Estimation in Information-plus-Noise Models
- Section 3.1.1 GLRT Asymptotics: Matlab code and Python code
- Section 3.1.2 Linear and Quadratic Discriminant Analysis: Matlab code and Python code
- Section 3.1.1 Subspace Methods: The G-MUSIC Algorithm: Matlab code and Python code
- Section 3.2 Covariance Matrix Distance Estimation: Matlab code and Python code
- Section 3.3 M-Estimators of Scatter: Matlab code and Python code
- Section 3.4 Concluding Remarks
- Section 3.5 Practical Course Material:
- The Wasserstein distance estimation: Matlab code and Python code
- Robust portfolio optimization via Tyler estimator: Matlab code and Python code
- Section 3.1 Detection and Estimation in Information-plus-Noise Models
-
Chapter 4 Kernel Methods
- Section 4.1 Basic Setting
- Section 4.2 Distance and Inner-Product Random Kernel Matrices
- Section 4.2.1 Main Intuitions
- Section 4.2.2 Main Results: Distance Random Kernel Matrices: Matlab code and Python code
- Section 4.2.3 Motivation: $\alpha-\beta$ Random Kernel Matrices
- Section 4.2.4 Main Results: $\alpha-\beta$ Random Kernel Matrices: Matlab code and Python code
- Section 4.3 Properly Scaling Kernel Model: Matlab code and Python code
- Section 4.4 Implications to Kernel Methods
- Section 4.4.1 Application to Kernel Spectral Clustering: Matlab code and Python code
- Section 4.4.2 Application to Semi-supervised Kernel Learning: Matlab code and Python code
- Section 4.4.3 Application to Kernel Ridge Regression: Matlab code and Python code
- Section 4.4.4 Summary of Section 4.4
- Section 4.5 Concluding Remarks
- Section 4.6 Practical Course Material
- Complexity-performance trade-off in spectral clustering with sparse kernel: Matlab code and Python code
- Towards transfer learning with kernel regression: Matlab code and Python code
-
Chapter 5 Large Neural Networks
- Section 5.1 Random Neural Networks
- Section 5.1.1 Regression with Random Neural Networks: Matlab code and Python code
- Section 5.1.2 Delving Deeper into Limiting Kernels: Matlab code and Python code
- Section 5.2 Gradient Descent Dynamics in Learning Linear Neural Nets: Matlab code and Python code
- Section 5.3 Recurrent Neural Nets: Echo-State Networks: Matlab code and Python code
- Section 5.4 Concluding Remarks
- Section 5.5 Practical Course Material: performance of large-dimensional random Fourier features Matlab code and Python code
- Section 5.1 Random Neural Networks
-
Chapter 6 Large-Dimensional Convex Optimization
- Section 6.1 Generalized Linear Classifier: [Matlab code](https://htmlpreview.github.io/?https://github.com/Zhenyu-LIAO/RMT4ML
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
16.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
