Interactive Plotly Dash experience that walks through the concepts, intuition, and tooling for high-dimensional regression. The site blends live Markdown notes with reusable Dash components that demonstrate phenomena such as full-rank design matrices, LASSO selection, and economic intuition.
You can view the live website here:
Click to open in new tab
- Live-updating notes sourced from modular Markdown files under
notes/. - Interactive demos inside
components/showing LASSO paths, rank diagnostics, and regression workflows. - Unified styling via
assets/styles.cssand shared design tokens intheme.py. - Synthetic-data notebooks (
*.ipynb) that back up the narratives with exploratory work.
main.py– Dash entry point that assembles Markdown sections and interactive components.assets/styles.css– Global styling (including smooth scrolling) loaded automatically by Dash.theme.py– Centralized color palette used across layouts.components/– Modular Dash components (table_of_contents.py,full_rank_component.py,lasso_component.py, etc.).notes/– Sectioned Markdown content (00_intro.md,03_ols_breakdown.md,references.md,contributors.md, …).requirements.txt/pyproject.toml– Locked dependencies (generated withuv).Eames_lasso_working.ipynb,Niki_Project_linear.ipynb– Supporting exploratory notebooks.uv.lock– Deterministic dependency lockfile.
uv provides fast env/dep management.
-
Create the virtual environment
uv venv
-
Activate it
source .venv/bin/activate # macOS/Linux # or .venv\Scripts\activate # Windows PowerShell
-
Install dependencies
uv pip install -r requirements.txt
-
Run the Dash app
uv run python main.py
Open
http://127.0.0.1:8050/in your browser. Markdown edits refresh automatically every 2 seconds.
- Markdown notes live in
notes/. Adding a new file? Append it to_SECTION_FILESinmain.pyand callrender_section("your_file.md"). - Interactive modules belong in
components/and should follow themake_<name>_componentpattern with scoped callbacks (seefull_rank_component.py). - Styling tweaks go in
assets/styles.css; Dash reloads the file on change.
Exploratory notebooks remain available:
uv run jupyter notebookUse them to prototype experiments or generate figures that feed back into the app.
Enjoy exploring high-dimensional regression! Feel free to open issues or PRs with improvements or new demos.
Made with ❤️ from msds601-highdim-group9.