How sagartripathi027/smartdata-explorer works
SmartData Explorer is a Flask web app for uploading CSVs, reviewing cleaned data and EDA, then configuring model training and downloading a trained model. The graph preserves the documented analysis and ML stages, plus session-backed temporary-file handling. Source excerpts show the Flask route calls and analysis/ML implementations; README statements support the broader user-facing capabilities. Templates and browser assets are present in the tree, but their implementation details were not sampled.
Main entry points: app.py Flask routes · ml_engine.py Model training · index.html CSV upload UI · analysis.py EDA and preprocessing
Components 16
Web workflow
- CSV upload UI
templates/index.html - File validation
static/script.js - Flask routes
app.py - Analysis dashboard
templates/result.html - ML configuration
templates/ml_config.html - ML results
templates/ml_result.html - Model download
app.py
Data analysis
- EDA and preprocessing
analysis.py - Correlation heatmap
analysis.py
Machine learning
- Column inspection
ml_engine.py - Model training
ml_engine.py - Model evaluation
ml_engine.py
Temporary artifacts
- Uploaded datasets
- Saved models
- Generated plots
Other components
- User
Connections 21
- User → CSV upload UI: selects CSV
README.md - CSV upload UI → File validation: validates file
static/script.js - CSV upload UI → Flask routes: submits upload
- Flask routes → Uploaded datasets: stores CSV
app.py - Flask routes → EDA and preprocessing: analyzes data
app.py - EDA and preprocessing → Flask routes: returns results
app.py - Flask routes → Correlation heatmap: generates heatmap
app.py - Flask routes → Analysis dashboard: renders report
app.py - User → ML configuration: configures task
- Flask routes → Column inspection: gets columns
app.py - Flask routes → ML configuration: renders options
app.py - Flask routes → Uploaded datasets: reads dataset
app.py - Flask routes → Model training: trains model
app.py - Model training → Model evaluation: calculates metrics
ml_engine.py - Model training → Saved models: saves model
ml_engine.py - Model training → Generated plots: saves plot
ml_engine.py - Flask routes → ML results: renders results
app.py - User → Model download: requests model
- Flask routes → Saved models: serves model
app.py - User → Analysis dashboard: views report
- User → ML results: views metrics