Downloads · 30 days
0
san000-1/pcatry
pcatry is a machine learning model from san000-1. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Feb 4, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py17.3 KB · 83%
From the Hugging Face model README
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:
streamlitpandasnumpyscikit-learnplotlyYou can install them with:
pip install streamlit pandas numpy scikit-learn plotly
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:
streamlit run pca.py
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.