Update README.md
Browse files
README.md
CHANGED
|
@@ -1,19 +1,55 @@
|
|
| 1 |
---
|
| 2 |
title: SimpleML
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
app_port: 8501
|
| 8 |
tags:
|
| 9 |
-
- streamlit
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
pinned: false
|
| 11 |
-
short_description:
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: SimpleML
|
| 3 |
+
emoji: 🤖
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: docker
|
| 7 |
app_port: 8501
|
| 8 |
tags:
|
| 9 |
+
- streamlit
|
| 10 |
+
- machine-learning
|
| 11 |
+
- classification
|
| 12 |
+
- regression
|
| 13 |
+
- sklearn
|
| 14 |
pinned: false
|
| 15 |
+
short_description: Train ML models in seconds — no code required.
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# SimpleML
|
| 19 |
|
| 20 |
+
Interactive Streamlit dashboard to train machine learning models (classification or regression) from CSV files — no code required.
|
| 21 |
|
| 22 |
+
## Author
|
| 23 |
+
Eduardo Nacimiento García
|
| 24 |
+
📧 enacimie@ull.edu.es
|
| 25 |
+
📜 Apache 2.0 License
|
| 26 |
+
|
| 27 |
+
## Features
|
| 28 |
+
- Upload CSV or use built-in classification/regression demo datasets
|
| 29 |
+
- Auto-detect task type (classification vs regression)
|
| 30 |
+
- Encode categorical variables automatically
|
| 31 |
+
- Choose between models:
|
| 32 |
+
- Classification: Random Forest, Logistic Regression
|
| 33 |
+
- Regression: Random Forest, Linear Regression
|
| 34 |
+
- View performance metrics
|
| 35 |
+
- Confusion matrix (classification) or Predicted vs Actual plot (regression)
|
| 36 |
+
- Feature importance (for tree-based models)
|
| 37 |
+
- Interactive prediction form
|
| 38 |
+
|
| 39 |
+
## Demo Datasets
|
| 40 |
+
Two built-in demos:
|
| 41 |
+
- **Classification**: Predict “Purchase” (0/1) based on age, income, education, etc.
|
| 42 |
+
- **Regression**: Predict “Salary” based on experience, age, education, etc.
|
| 43 |
+
|
| 44 |
+
## Deployment
|
| 45 |
+
Ready for [Hugging Face Spaces](https://huggingface.co/spaces) (free tier).
|
| 46 |
+
|
| 47 |
+
> ⚠️ Uses `sdk: docker` — include `Dockerfile`.
|
| 48 |
+
|
| 49 |
+
## Requirements
|
| 50 |
+
- Python 3.8+
|
| 51 |
+
- Streamlit, scikit-learn, pandas, numpy, plotly
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
💡 Tip: After uploading your CSV, select target variable → features → model → see results + make predictions!
|