license: mit
title: PCA Finance Dashboard
emoji: 📊
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: "1.32.0"
app_file: pca.py
pinned: false
tags:
This project is an interactive Streamlit dashboard for exploring Principal Component Analysis (PCA) on financial return series.
You can either generate synthetic returns or upload your own CSV of asset returns and inspect:
Open a terminal (PowerShell, Command Prompt, or any shell).
Change directory into the folder that contains pca.py:
cd "C:\Users\sharm\Downloads\New folder"
Run the Streamlit app:
After a few seconds Streamlit will print a local URL, for example:
Local URL: http://localhost:8501
Open that URL in your browser to use the dashboard.
If the default port (8501) is already in use, you can choose another one, e.g.:
streamlit run pca.py --server.port 8505
For reproducible synthetic data, you can adjust the random seed in the sidebar.