Autonomous predictive analytics from CSV to trained model and runnable code.
Project description
Nexora
An autonomous predictive analytics platform that profiles datasets, builds optimized preprocessing pipelines, trains reproducible model registries, runs batch predictions, monitors feature drift, and provides grounded AI educational interactive chats from a single CSV upload.
Why Nexora?
Data scientists and developers often spend hours writing repetitive code for data profiling, exploratory analysis, preprocessing, model benchmarking, and production endpoint deployments. Nexora bridges this gap by serving as a unified prediction engine.
By uploading a single CSV dataset, developers can instantly audit dataset health, clean features, benchmark leading machine learning models side-by-side, analyze SHAP explainability insights, download compiled PDF reports, converse with a grounded AI dataset assistant, and deploy production-ready prediction API endpoints secured by unique API keys.
Live Deployments
| Component | URL | Host Provider |
|---|---|---|
| Frontend Web App | nexoraprediction.netlify.app | Netlify |
| Backend API | nexora-360r.onrender.com | Render |
| API Documentation | nexora-360r.onrender.com/docs | Render |
Note: The backend API runs on Render's free tier and spins down after periods of inactivity. Please allow 30 to 60 seconds for the initial cold start when first accessing the application.
Note: The educational assistant (Ollama integration) requires a local Ollama instance and is only active when running the application locally. See local setup guidelines below.
System Architecture
The diagram below outlines the end-to-end data flow, processing components, and communication layers in Nexora:
graph TD
subgraph Client Layer
A[React Frontend]
end
subgraph Service API Layer
B[FastAPI Backend Gateway]
C[Dataset Analyzer & Validator]
D[Preprocessing Engine]
E[Training Manager & Registry]
F[SHAP Explainability Engine]
G[Grounded Chat Agent]
H[API Key Deployment Manager]
end
subgraph Storage & Compute
I[(Local Uploads / MongoDB)]
J[Local Ollama / Phi-3 Mini]
K[ML Models: XGBoost, CatBoost, LightGBM, Scikit-Learn]
end
A -->|Upload CSV & Configuration| B
B --> C
B --> D
B --> E
B --> F
B --> G
B --> H
C <-->|Read / Write Datasets| I
D <-->|Save Clean Pipelines| I
E <-->|Real-time Socket Updates| A
E <-->|Benchmark & Serialize| K
F -->|Render Report| I
G <-->|Dataset Context Queries| J
H <-->|Authorize Keys & Serves| K
Core Features
1. Dataset Intelligence Engine
- Automated CSV Validation - Formats columns, assesses size boundaries, and verifies tabular file integrity.
- Health Profiling - Evaluates structural completeness, statistical anomalies, and generates per-column scorecards.
- Preview and Distributions - Offers statistical summaries, skew metrics, and categorical balance diagnostics.
2. Dynamic Preprocessing Pipelines
- Type Parsing - Separates numerical parameters, categorical labels, datetimes, and identifier variables.
- Intelligent Preprocessing - Implements missing values imputation, standard scaling, target-label encoding, outlier detection, and duplicate record cleaning.
- Interactive Configuration - Provides controls to select prediction targets and customize individual preprocessing steps.
3. Prediction Studio and Benchmarking
- Model Registry - Supports multiple algorithms including XGBoost, CatBoost, LightGBM, and Scikit-Learn ensembles.
- Training Pipeline - Executes cross-validation splits, train-test isolation, and hyperparameter parameter sweeps.
- WebSocket Leaderboard - Streams active model training metrics and charts real-time scores directly to the UI.
- Comparison Arena - Visualizes metrics, prediction drift charts, and latency histograms of trained models.
4. Interactive Data Visualization
- Multi-Chart Dashboard - Displays numerical trends, categorical patterns, and completeness heatmaps.
- Data Health Visualization - Compiles data quality stats, missing records rates, and unique features counts.
- Correlation Insights - Flags linear dependencies, high associations, and outlier counts.
5. Production Suite
- API Endpoints - Deploys production-grade prediction endpoints secured by custom API keys.
- Batch Processing - Enables bulk uploads to retrieve fully enriched output prediction sheets.
- Drift Detection - Compares historical prediction request signatures to highlight potential target concept drift.
- Grounded LLM Chat - Integrates local Ollama models (Phi-3 Mini) to act as a database context tutor answering questions regarding data distribution trends.
Technical Stack
| Layer | Technologies |
|---|---|
| Frontend Web App | React 18, Vite, TypeScript, Tailwind CSS, Framer Motion, Recharts, Axios, Lucide Icons |
| Backend Service API | Python 3.11, FastAPI, Uvicorn, Pydantic, Pandas, NumPy, Scikit-learn, CatBoost, LightGBM, XGBoost |
| Data Persistence | MongoDB Atlas / Local File Storage |
| Local LLM Integration | Ollama Engine (Phi-3 Mini) |
| Infrastructure Platforms | Netlify (Frontend), Render (Backend) |
Local Development
Installation Prerequisites
| Dependency | Minimum Version |
|---|---|
| Python | 3.11 or higher |
| Node.js | 20 or higher |
| npm | 10 or higher |
| Ollama | Latest (optional, for grounded Q&A) |
Development Option 1: Standard Installation
1. Clone the Project
git clone https://github.com/jeet2005/Nexora.git
cd Nexora
2. Configure Backend Service
cd backend
python -m venv .venv
# Activate Virtual Environment (Windows)
.venv\Scripts\activate
# Activate Virtual Environment (macOS / Linux)
source .venv/bin/activate
# Install dependencies and setup configuration
pip install -r requirements.txt
cp .env.example .env
# Run development server
python run.py
The backend service will be available at http://localhost:8000. You can test endpoints on Swagger UI at http://localhost:8000/docs.
3. Configure Frontend Application
cd ../frontend
npm install
cp .env.example .env.local
# Run development server
npm run dev
The React frontend application will be active at http://localhost:5173.
Development Option 2: Docker Compose Setup
Run the entire stack (FastAPI, React, and MongoDB) with a single command:
docker compose up --build
- Frontend Web App: Access at
http://localhost:3000 - Backend API: Access at
http://localhost:8000 - MongoDB Instance: Running on port
27017
Development Option 3: Makefile Shortcuts
If you have Make installed, you can orchestrate development commands directly from the project root:
- Install all package dependencies:
make install - Launch backend locally:
make dev-backend - Launch frontend locally:
make dev-frontend - Run backend pytest suite:
make test - Format all file types:
make format - Spin up Docker containers:
make docker-up - Spin down Docker containers:
make docker-down
Grounded Q&A Assistant Setup (Optional)
To enable the dataset assistant using a local LLM instance:
- Download and install Ollama.
- Pull the default micro-LLM model in your terminal:
ollama pull phi3:mini
- Keep Ollama active in the background. The assistant will detect local hosting at
http://localhost:11434and enable custom educational conversations.
Repository Roadmap
- Add Pytest code coverage reports in the Backend CI pipeline.
- Implement multi-file comparison dashboards within the Frontend page.
- Add support for automated time-series forecasting hyperparameter tuning.
- Integrate PostgreSQL database schema mappings for enterprise persistence layers.
- Add REST API key rotation options inside the Production UI.
- Create automated end-to-end integration tests using Playwright.
Contributing and Governance
Contributions are welcome. Please read our Contributing Guidelines to understand branch conventions, pull request structures, and developer standards. Ensure all contributions align with our Code of Conduct.
For vulnerability notifications, refer to our Security Policy.
License
Nexora is open-source software licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexora_prediction-0.1.1.tar.gz.
File metadata
- Download URL: nexora_prediction-0.1.1.tar.gz
- Upload date:
- Size: 105.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a2c2326a13642a5ef69fdfcde99f4e61591f98c289dd46687a6eb5e8bbadb99
|
|
| MD5 |
e71202a033de08eb7e4a0cd1cf5782db
|
|
| BLAKE2b-256 |
9c21ed43752029a552cc6f629ff39c5fad49082bea2257b0b012c2f6b5949dc9
|
File details
Details for the file nexora_prediction-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nexora_prediction-0.1.1-py3-none-any.whl
- Upload date:
- Size: 105.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53402dcfd6b78dad88cff3bf8417388da731acb44847985c9a107ea1095e83e3
|
|
| MD5 |
bc0d68b53d58f94b286d57901a19cc03
|
|
| BLAKE2b-256 |
233b92775ce654fbcc89895003fa7ea2cbf83c14668f8f0dc250957652b5854d
|