Build AI-first AutoML platform: CSV → best model + insights#1
Draft
Build AI-first AutoML platform: CSV → best model + insights#1
Conversation
Co-authored-by: vishalxtyagi <68649083+vishalxtyagi@users.noreply.github.com> Agent-Logs-Url: https://github.com/vishalxtyagi/no-code-ml/sessions/dc7a8b9e-6372-4f91-8b3c-93b232b03d2a
Copilot
AI
changed the title
[WIP] Add feature to upload CSV and generate best model insights
Build AI-first AutoML platform: CSV → best model + insights
Mar 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the manual model-selection Flask app with a fully automated ML pipeline. Users upload a CSV and receive the best trained model, evaluation metrics, feature importances, and a plain-English explanation — no configuration required beyond selecting the target column.
Backend —
backend/(FastAPI)data_processor/profiler.py— dataset profiling, auto-detects problem type (classification vs regression) from target column cardinality/dtype, generates preprocessing suggestionsdata_processor/cleaner.py— null placeholder normalisation, deduplication, high-missing/constant column drops;ColumnTransformerpipeline (median imputation +StandardScalerfor numeric; mode imputation +OneHotEncoderfor categorical)model_trainer/trainer.py— trains 5 models (LogisticRegression/Ridge, RandomForest, GradientBoosting, XGBoost, LightGBM); runs Optuna tuning (20 trials) on the winnerevaluator/evaluator.py— accuracy/F1/precision/recall for classification; RMSE/MAE/R² for regression; sorted comparison tableexplainer/explainer.py— feature importance viafeature_importances_, coef magnitude, or SHAP fallback; template-based plain-English explanationapi/routes.py—POST /api/upload,POST /api/run-pipeline/{job_id},GET /api/results/{job_id},GET /api/download-model/{job_id}app.py— FastAPI + CORS; serves React static build fromfrontend/build/Frontend —
frontend/(React + TypeScript).pkldownloadExample pipeline flow
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.