Skip to content

prabathSoft/ai-sim-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

115 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 AI Simulation Platform

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.


πŸš€ Features

  • 🎨 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

πŸ“‹ Quick Links


πŸ—οΈ Project Structure

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

⚑ Quick Start

Prerequisites

  • Node.js 16+
  • Python 3.9+
  • Git

Local Development Setup

Clone the Repository:

git clone https://github.com/prabathSoft/ai-sim-platform.git
cd ai-sim-platform

Start 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 8000

Start Frontend (in a new terminal):

cd frontend
npm install
npm start

Visit http://localhost:3000 to access the platform.


πŸ› οΈ Tech Stack

Frontend

  • React 18+ - UI library
  • TypeScript - Type-safe JavaScript
  • Zustand - State management
  • CSS/SCSS - Styling
  • WebSocket - Real-time communication

Backend

  • FastAPI - Modern Python web framework
  • Python 3.9+ - Runtime
  • scikit-learn - ML algorithms
  • NumPy/Pandas - Data processing
  • asyncio - Async operations

DevOps

  • Docker - Containerization
  • GitHub Actions - CI/CD automation
  • Nginx - Reverse proxy

πŸ“– Documentation

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

πŸš€ Deployment

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.


🀝 Contributing

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

πŸ”’ Security

Found a security vulnerability? Please report it responsibly by reading our Security Policy instead of opening a public issue.


πŸ“„ License

This project is licensed under the MIT License - see LICENSE file for details.


πŸ’‘ Project Status

πŸš€ Status: Early Development (Pre-release)

Currently building the core platform. See Changelog for current progress and planned features.


πŸ“ž Support


πŸ™ Acknowledgments

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! πŸŽ“

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors