Skip to content

grimmy-dev/predict.ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Smart CSV Analyzer & Predictor

Smart CSV Analyzer

A simple web app for exploring CSV files, generating insights, and testing ML predictionsβ€”all from your browser

πŸŽ₯ Watch Demo β€’ πŸ“– Documentation

Next.js FastAPI Python TypeScript

✨ Features

πŸ“€ File Upload

  • Upload CSV files (up to 50MB)
  • Real-time upload progress
  • Automatic file validation

πŸ“ˆ Data Insights

  • Dataset overview (rows, columns, size)
  • Data quality scoring
  • Missing values detection
  • Column type analysis

πŸ“Š Interactive Charts

  • Universal chart builder
  • Multiple visualization types
  • Real-time data exploration

πŸ€– ML Predictions

  • Test predictions with custom inputs
  • Model confidence scores
  • Live prediction results

πŸ”„ Real-time Updates

  • WebSocket progress tracking
  • Live logs and status updates
  • Instant feedback on operations

Quick Start

Prerequisites

Make sure you have these installed:

  • Node.js (v18 or higher)
  • Python (3.12 or higher)
  • pnpm (recommended) or npm

1️⃣ Clone & Setup

git clone https://github.com/grimmy-dev/assessment2.git
cd assessment2

2️⃣ Install Dependencies

# Install frontend dependencies
pnpm install

3️⃣ Start the Application

Option 1: Run Everything (Recommended)

pnpm run dev:full

Option 2: Run Separately

# Terminal 1: Backend
pnpm run fastapi-dev

# Terminal 2: Frontend
pnpm run dev

4️⃣ Open Your Browser

  • Main App: http://localhost:3000
  • Debug API: http://localhost:8000/docs

πŸ“ Project Structure

assessment2/
β”œβ”€β”€ πŸ“‚ data/                   # Sample CSV files
β”‚   └── testing_dataset.csv    # Ready-to-use sample data
β”œβ”€β”€ πŸ“‚ src/
β”‚   β”œβ”€β”€ πŸ“‚ api/                 # FastAPI backend
β”‚   β”‚   β”œβ”€β”€ routes/            # API routes
β”‚   β”‚   └── main.py            # Main endpoint
β”‚   β”‚
β”‚   └── πŸ“‚ app/                # Next.js frontend
β”‚       β”œβ”€β”€ components/        # React components
β”‚       β”œβ”€β”€ pages/             # App pages
β”‚       └── styles/            # CSS & styling
β”œβ”€β”€ package.json               # Frontend dependencies
β”œβ”€β”€ requirements.txt           # Python dependencies
└── README.md                  # This file

πŸ› οΈ Technology Stack

Next.js TypeScript Tailwind CSS FastAPI Python
WebSocket scikit-learn pandas NumPy React

🎯 How to Use

CSV file Uploader


Data Analysis Dashboard


ML Prediction Interface


πŸ’‘ Try It Now

Don't have a CSV file? No problem! Use our sample dataset:

πŸ“ /data/testing_dataset.csv

This file is perfect for exploring all features of the application.


πŸ“‹ Available Scripts

Command Description
pnpm run dev:full Start both frontend and backend
pnpm run dev Start frontend only
pnpm run fastapi-dev Start backend only
pnpm run build Build for production
pnpm run lint Run code linting

🀝 Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit-m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ†˜ Need Help?


Made with ❀️ for data enthusiasts

⭐ Star this repo if you found it helpful!

About

A Ai powered dynamic Data analyzer and Prediction that uses random forest.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors