Spaces:
Sleeping
Sleeping
| title: ML Data Analysis Studio | |
| emoji: π€ | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: gradio | |
| sdk_version: 5.50.0 | |
| python_version: "3.11" | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # π€ ML Data Analysis Studio | |
| An interactive machine-learning playground. Upload a dataset in almost any format, clean it, train models, inspect the generated code, and download full analysis reports β no coding required. | |
| ## Features | |
| - **π¬ ML Assistant** β chat about ML models (random forests, SVM, overfitting, metrics, model selection...) and get guided through the analysis workflow. | |
| - **π Data upload & preprocessing** β supports CSV, TSV, Excel, JSON, and Parquet, including hard-to-read files (auto-detects delimiter and encoding, skips malformed rows, fixes messy headers). Automatic profiling (missing values, duplicates, dtypes), then configurable cleaning: mean/median imputation or row-dropping, duplicate removal, IQR outlier clipping, one-hot encoding, and standard or min-max scaling. Placeholder values ('N/A', '?', '-'), numeric-looking text ('$1,234', '45%'), and empty/constant columns are handled automatically. | |
| - **π§ Model training** β regression (Linear, Decision Tree, Random Forest, Gradient Boosting, SVR, KNN) and classification (Logistic, Decision Tree, Random Forest, Gradient Boosting, SVC, KNN). Auto-suggests the task type from your target column. Shows metrics, an actual-vs-predicted / confusion-matrix plot, and feature importance. | |
| - **π¨βπ» Code viewer** β dropdown accordions reveal the exact standalone Python (pandas + scikit-learn) equivalent to every preprocessing and training step, ready to copy. | |
| - **π₯ Downloads** β one-click export of a PDF report, a self-contained HTML report, and the cleaned dataset as CSV. | |
| ## How to use | |
| 1. **Data & Preprocessing** β upload your file, review the automatic profile, pick your cleaning options, and run preprocessing. | |
| 2. **Model Training** β choose a target column, task, and model, then train and review the metrics and charts. | |
| 3. **Reports & Downloads** β export a PDF/HTML report of the whole analysis plus the cleaned dataset. | |
| *Note: uploaded data is processed in temporary storage for your session only β it is not collected or kept.* | |