A real-time interactive system to visualize, simulate, and learn AI algorithms β from classical models to modern neural networks.
Built with React + Zustand (frontend) and FastAPI (backend), this platform demonstrates how machine learning works step-by-step.
- π¨ Visual Learning β Watch decision boundaries and feature maps evolve in real time
- βοΈ Algorithm Selection β Choose from Logistic Regression, SVM, KNN, MLP, CNN
- π§© Hyperparameter Configuration β Adjust learning rate, epochs, batch size, activation
- π Dataset Tools β Generate synthetic datasets or upload CSV files
- π Simulation Engine β Run training loops and view metrics dynamically
- π WebSocket Streaming β Real-time updates to the frontend canvas
- π Metrics Dashboard β Track loss and accuracy visually
- π Getting Started Guide - Setup instructions for local development
- ποΈ Architecture Documentation - System design and technical details
- π’ Deployment Guide - Multiple deployment options (Heroku, Docker, Manual)
- π€ Contributing Guidelines - How to contribute to the project
- π Security Policy - Report vulnerabilities responsibly
- π Changelog - Project version history and updates
AI-Simulation-Platform/
β
βββ frontend/
β βββ src/
β β βββ components/ # Reusable React components
β β βββ stores/ # Zustand state management
β β βββ services/ # API and WebSocket clients
β β βββ types/ # TypeScript interfaces
β β βββ styles/ # CSS/SCSS files
β βββ package.json # Frontend dependencies
β
βββ backend/
β βββ app/
β β βββ api/ # FastAPI route handlers
β β βββ services/ # Business logic layer
β β βββ models/ # ML model implementations
β β βββ websocket/ # WebSocket handlers
β β βββ schemas/ # Pydantic models
β β βββ utils/ # Helper functions
β βββ requirements.txt # Python dependencies
β
βββ docs/
β βββ GETTING_STARTED.md # Setup guide
β βββ ARCHITECTURE.md # System architecture
β βββ DEPLOYMENT.md # Deployment instructions
β
βββ docker/ # Docker configuration files
βββ scripts/ # Build and utility scripts
βββ shared/ # Shared utilities and types
βββ LICENSE # MIT License
βββ README.md # This file
- Node.js 16+
- Python 3.9+
- Git
Clone the Repository:
git clone https://github.com/prabathSoft/ai-sim-platform.git
cd ai-sim-platformStart Backend:
cd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
python -m uvicorn app.main:app --reload --port 8000Start Frontend (in a new terminal):
cd frontend
npm install
npm startVisit http://localhost:3000 to access the platform.
- React 18+ - UI library
- TypeScript - Type-safe JavaScript
- Zustand - State management
- CSS/SCSS - Styling
- WebSocket - Real-time communication
- FastAPI - Modern Python web framework
- Python 3.9+ - Runtime
- scikit-learn - ML algorithms
- NumPy/Pandas - Data processing
- asyncio - Async operations
- Docker - Containerization
- GitHub Actions - CI/CD automation
- Nginx - Reverse proxy
Comprehensive documentation is available in the docs/ directory:
| Document | Purpose |
|---|---|
| Getting Started | Installation & local development setup |
| Architecture | System design, components & data flow |
| Deployment | Production deployment guide |
| Contributing | How to contribute code changes |
| Security | Security policy & vulnerability reporting |
| Changelog | Version history & release notes |
The platform can be deployed in multiple ways:
- Heroku - Easy cloud deployment
- Docker - Containerized deployment to AWS, DigitalOcean, Azure
- Vercel - Frontend-only deployment
- Manual - Traditional server setup
See Deployment Guide for detailed instructions.
We welcome contributions from the community! Please see CONTRIBUTING.md for:
- Development setup instructions
- Code style guidelines
- Testing procedures
- Pull request process
- Bug reporting guidelines
Found a security vulnerability? Please report it responsibly by reading our Security Policy instead of opening a public issue.
This project is licensed under the MIT License - see LICENSE file for details.
π Status: Early Development (Pre-release)
Currently building the core platform. See Changelog for current progress and planned features.
- π Documentation: Check the docs/ folder
- π Bug Report: Open an issue
- π¬ Discussions: Use GitHub Discussions
- π€ Contribute: Read Contributing Guidelines
Built with β€οΈ by prabathSoft
Special thanks to:
- React and FastAPI communities
- Open-source ML libraries (scikit-learn, NumPy, Pandas)
- All contributors and users
Happy Learning! π