File size: 1,548 Bytes
5498214
a174d55
9d03168
 
 
5498214
 
 
9d03168
 
 
 
 
5498214
9d03168
5498214
 
9d03168
5498214
9d03168
5498214
9d03168
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: SimpleML
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 8501
tags:
  - streamlit
  - machine-learning
  - classification
  - regression
  - sklearn
pinned: false
short_description: Train ML models in seconds  no code required.
---

# SimpleML

Interactive Streamlit dashboard to train machine learning models (classification or regression) from CSV files — no code required.

## Author
Eduardo Nacimiento García  
📧 enacimie@ull.edu.es  
📜 Apache 2.0 License

## Features
- Upload CSV or use built-in classification/regression demo datasets
- Auto-detect task type (classification vs regression)
- Encode categorical variables automatically
- Choose between models:
  - Classification: Random Forest, Logistic Regression
  - Regression: Random Forest, Linear Regression
- View performance metrics
- Confusion matrix (classification) or Predicted vs Actual plot (regression)
- Feature importance (for tree-based models)
- Interactive prediction form

## Demo Datasets
Two built-in demos:
- **Classification**: Predict “Purchase” (0/1) based on age, income, education, etc.
- **Regression**: Predict “Salary” based on experience, age, education, etc.

## Deployment
Ready for [Hugging Face Spaces](https://huggingface.co/spaces) (free tier).

> ⚠️ Uses `sdk: docker` — include `Dockerfile`.

## Requirements
- Python 3.8+
- Streamlit, scikit-learn, pandas, numpy, plotly

---

💡 Tip: After uploading your CSV, select target variable → features → model → see results + make predictions!