A Streamlit-based dashboard for analyzing corporate financial data with machine learning predictions, featuring a professional dull black and off-white theme.
- 📊 Interactive financial data visualization
- 🤖 Machine learning EPS prediction model
- 📈 Real-time financial metrics analysis
- 🎨 Professional dark theme design
- 📱 Responsive layout for all devices
Watch the demo video on YouTube
Click the button above to watch the interactive dashboard demo
- Python 3.11+
- pip or poetry
- Clone or download the project
- Run the setup script:
./setup.sh
- Activate the virtual environment:
source venv/bin/activate - Run the dashboard:
streamlit run app.py
-
Create virtual environment:
python3 -m venv venv source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
streamlit run app.py
The dashboard will be available at http://localhost:8501
- Create a new Railway project
- Connect your GitHub repository
- Railway will automatically detect the configuration files and deploy
No additional environment variables are required for basic functionality.
cooperate-Analysis and Machine Learning/
├── app.py # Main Streamlit application
├── requirements.txt # Python dependencies
├── pyproject.toml # Poetry configuration
├── Procfile # Process file for deployment
├── runtime.txt # Python version specification
├── railway.json # Railway deployment config
├── nixpacks.toml # Nixpacks build configuration
├── setup.sh # Environment setup script
├── .env # Environment variables
├── .streamlit/
│ └── config.toml # Streamlit configuration
└── README.md # This file
- Financial Metrics: Revenue, Net Income, EPS, ROE analysis
- Interactive Charts: Time series, scatter plots, box plots
- Company Comparison: Multi-company analysis capabilities
- Industry Analysis: Cross-industry performance comparison
- Algorithm: Random Forest Classifier
- Purpose: EPS performance prediction (above/below median)
- Features: Automated feature selection
- Accuracy: Real-time model performance metrics
- Colors: Dull black (#1a1a1a) background, off-white (#f5f5f5) text
- Professional: Designed for business presentations
- Responsive: Optimized for desktop and mobile viewing
The dashboard currently uses synthetic financial data for demonstration purposes. To use real data:
- Replace the
load_data()function inapp.py - Connect to your financial data source (CSV, database, API)
- Ensure data follows the expected schema
- Frontend: Streamlit
- Data Processing: Pandas, NumPy
- Visualization: Plotly, Seaborn, Matplotlib
- Machine Learning: Scikit-learn
- Deployment: Railway, Nixpacks
- Fork the repository
- Create a feature branch
- Make your changes
- Test locally
- Submit a pull request
This project is licensed under the MIT License.
For issues and questions:
- Check the documentation
- Review existing issues
- Create a new issue with detailed description
Note: This dashboard is designed for educational and demonstration purposes. For production use with real financial data, ensure proper data validation, security measures, and compliance with financial regulations.
