mlcompare-dev 0.1.1__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mlcompare_dev-0.1.2/PKG-INFO +307 -0
- mlcompare_dev-0.1.2/README.md +285 -0
- mlcompare_dev-0.1.2/mlcompare_dev.egg-info/PKG-INFO +307 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/setup.py +2 -2
- mlcompare_dev-0.1.1/PKG-INFO +0 -213
- mlcompare_dev-0.1.1/README.md +0 -191
- mlcompare_dev-0.1.1/mlcompare_dev.egg-info/PKG-INFO +0 -213
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/LICENSE +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare/__init__.py +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare/core.py +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare/metrics.py +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare/models.py +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare/save.py +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare/utils.py +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare/version.py +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare_dev.egg-info/SOURCES.txt +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare_dev.egg-info/dependency_links.txt +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare_dev.egg-info/requires.txt +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/mlcompare_dev.egg-info/top_level.txt +0 -0
- {mlcompare_dev-0.1.1 → mlcompare_dev-0.1.2}/setup.cfg +0 -0
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mlcompare-dev
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: Compare and evaluate multiple classification and regression ML models
|
|
5
|
+
Author: Manish Kumar
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: pandas>=2.0.0
|
|
11
|
+
Requires-Dist: numpy>=1.24.0
|
|
12
|
+
Requires-Dist: scikit-learn>=1.4.0
|
|
13
|
+
Requires-Dist: joblib>=1.3.0
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: description
|
|
16
|
+
Dynamic: description-content-type
|
|
17
|
+
Dynamic: license
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
Dynamic: requires-dist
|
|
20
|
+
Dynamic: requires-python
|
|
21
|
+
Dynamic: summary
|
|
22
|
+
|
|
23
|
+
<div align="center">
|
|
24
|
+
|
|
25
|
+
# 🚀 MLCompare
|
|
26
|
+
|
|
27
|
+
### Compare Machine Learning Models in Just a Few Lines of Code
|
|
28
|
+
|
|
29
|
+
A lightweight, beginner-friendly Python package for **Classification** and **Regression** that helps you train, evaluate, compare, and save Machine Learning models with a simple API.
|
|
30
|
+
|
|
31
|
+
[](https://pypi.org/project/mlcompare-dev/)
|
|
32
|
+
[](https://pypi.org/project/mlcompare-dev/)
|
|
33
|
+
[](https://pypi.org/project/mlcompare-dev/)
|
|
34
|
+
[](LICENSE)
|
|
35
|
+
[](https://github.com/Developer-Manish007/mlcompare)
|
|
36
|
+
|
|
37
|
+
[**📦 View on PyPI**](https://pypi.org/project/mlcompare-dev/) • [**💻 View on GitHub**](https://github.com/Developer-Manish007/mlcompare)
|
|
38
|
+
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 🧠 What is MLCompare?
|
|
44
|
+
|
|
45
|
+
Machine Learning experimentation often involves repeating the same workflow for multiple algorithms:
|
|
46
|
+
|
|
47
|
+
**Prepare Data → Select Model → Train → Evaluate → Compare**
|
|
48
|
+
|
|
49
|
+
Doing this manually for every model can lead to repetitive code and slower experimentation.
|
|
50
|
+
|
|
51
|
+
**MLCompare** is designed to simplify this process by providing a reusable interface for comparing multiple Machine Learning models for **Classification** and **Regression** tasks.
|
|
52
|
+
|
|
53
|
+
> **Goal:** Reduce repetitive ML boilerplate and make model comparison simple, fast, and beginner-friendly.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## ✨ Features
|
|
58
|
+
|
|
59
|
+
- 🎯 **Classification & Regression** support
|
|
60
|
+
- 🤖 **Multiple model comparison** in a single workflow
|
|
61
|
+
- 📊 **Performance evaluation** and result comparison
|
|
62
|
+
- 🏆 **Best model selection**
|
|
63
|
+
- 💾 **Save trained models**
|
|
64
|
+
- 📂 **Load saved models**
|
|
65
|
+
- 🔮 **Prediction support**
|
|
66
|
+
- 🧩 **Simple and beginner-friendly API**
|
|
67
|
+
- 🐍 Built with the **Scikit-Learn** ecosystem
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 📦 Installation
|
|
72
|
+
|
|
73
|
+
### Install from PyPI
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
pip install mlcompare-dev
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Install locally for development
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
git clone https://github.com/Developer-Manish007/mlcompare.git
|
|
83
|
+
cd mlcompare
|
|
84
|
+
pip install -e .
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### 🔗 Important Links
|
|
88
|
+
|
|
89
|
+
| Resource | Link |
|
|
90
|
+
|---|---|
|
|
91
|
+
| 📦 PyPI Package | https://pypi.org/project/mlcompare-dev/ |
|
|
92
|
+
| 💻 GitHub Repository | https://github.com/Developer-Manish007/mlcompare |
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## 🚀 Quick Start
|
|
97
|
+
|
|
98
|
+
```python
|
|
99
|
+
from mlcompare import MLCompare
|
|
100
|
+
from sklearn.datasets import load_iris
|
|
101
|
+
from sklearn.model_selection import train_test_split
|
|
102
|
+
|
|
103
|
+
# Load dataset
|
|
104
|
+
X, y = load_iris(return_X_y=True)
|
|
105
|
+
|
|
106
|
+
# Split dataset
|
|
107
|
+
X_train, X_test, y_train, y_test = train_test_split(
|
|
108
|
+
X,
|
|
109
|
+
y,
|
|
110
|
+
test_size=0.2,
|
|
111
|
+
random_state=42
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
# Create MLCompare object
|
|
115
|
+
mc = MLCompare()
|
|
116
|
+
|
|
117
|
+
# Train models
|
|
118
|
+
mc.fit(X_train, y_train)
|
|
119
|
+
|
|
120
|
+
# Compare models
|
|
121
|
+
results = mc.compare()
|
|
122
|
+
|
|
123
|
+
print(results)
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 💾 Save a Model
|
|
129
|
+
|
|
130
|
+
Save a trained model for later use:
|
|
131
|
+
|
|
132
|
+
```python
|
|
133
|
+
mc.save("best_model.pkl")
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 📂 Load a Model
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
from mlcompare import load_model
|
|
142
|
+
|
|
143
|
+
model = load_model("best_model.pkl")
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## 📊 Supported Models
|
|
149
|
+
|
|
150
|
+
### 🔵 Classification
|
|
151
|
+
|
|
152
|
+
- Logistic Regression
|
|
153
|
+
- K-Nearest Neighbors (KNN)
|
|
154
|
+
- Decision Tree
|
|
155
|
+
- Random Forest
|
|
156
|
+
- Support Vector Machine (SVM)
|
|
157
|
+
- Gaussian Naive Bayes
|
|
158
|
+
|
|
159
|
+
### 🟢 Regression
|
|
160
|
+
|
|
161
|
+
- Linear Regression
|
|
162
|
+
- Decision Tree Regressor
|
|
163
|
+
- Random Forest Regressor
|
|
164
|
+
- K-Neighbors Regressor
|
|
165
|
+
- Support Vector Regressor
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## 🔄 MLCompare Workflow
|
|
170
|
+
|
|
171
|
+
```text
|
|
172
|
+
┌─────────────────┐
|
|
173
|
+
│ Dataset │
|
|
174
|
+
└────────┬────────┘
|
|
175
|
+
↓
|
|
176
|
+
┌─────────────────┐
|
|
177
|
+
│ Data Setup │
|
|
178
|
+
└────────┬────────┘
|
|
179
|
+
↓
|
|
180
|
+
┌─────────────────┐
|
|
181
|
+
│ Model Training │
|
|
182
|
+
└────────┬────────┘
|
|
183
|
+
↓
|
|
184
|
+
┌─────────────────┐
|
|
185
|
+
│ Evaluation │
|
|
186
|
+
└────────┬────────┘
|
|
187
|
+
↓
|
|
188
|
+
┌─────────────────┐
|
|
189
|
+
│ Model Comparison│
|
|
190
|
+
└────────┬────────┘
|
|
191
|
+
↓
|
|
192
|
+
┌─────────────────┐
|
|
193
|
+
│ Best Model │
|
|
194
|
+
└─────────────────┘
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
The workflow is designed to make it easier to experiment with multiple models without rewriting the same comparison logic repeatedly.
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## 🧪 Example Use Case
|
|
202
|
+
|
|
203
|
+
Suppose you have a classification dataset and want to test several algorithms.
|
|
204
|
+
|
|
205
|
+
Instead of creating separate training and evaluation code for every model, MLCompare provides a common workflow where the models can be trained and compared together.
|
|
206
|
+
|
|
207
|
+
This is especially useful for:
|
|
208
|
+
|
|
209
|
+
- 📚 Learning Machine Learning
|
|
210
|
+
- 🔬 Model experimentation
|
|
211
|
+
- 📊 Exploratory model comparison
|
|
212
|
+
- 🧑💻 Data Science projects
|
|
213
|
+
- ⚡ Rapid prototyping
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## 📁 Project Structure
|
|
218
|
+
|
|
219
|
+
```text
|
|
220
|
+
mlcompare/
|
|
221
|
+
│
|
|
222
|
+
├── mlcompare/
|
|
223
|
+
│ ├── core.py
|
|
224
|
+
│ ├── models.py
|
|
225
|
+
│ ├── metrics.py
|
|
226
|
+
│ ├── save.py
|
|
227
|
+
│ ├── utils.py
|
|
228
|
+
│ ├── version.py
|
|
229
|
+
│ └── __init__.py
|
|
230
|
+
│
|
|
231
|
+
├── examples/
|
|
232
|
+
├── README.md
|
|
233
|
+
├── setup.py
|
|
234
|
+
├── requirements.txt
|
|
235
|
+
├── LICENSE
|
|
236
|
+
└── .gitignore
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## 🛣️ Roadmap
|
|
242
|
+
|
|
243
|
+
### v0.2.0
|
|
244
|
+
|
|
245
|
+
- [ ] StandardScaler
|
|
246
|
+
- [ ] MinMaxScaler
|
|
247
|
+
- [ ] RobustScaler
|
|
248
|
+
- [ ] Cross Validation
|
|
249
|
+
- [ ] More Evaluation Metrics
|
|
250
|
+
|
|
251
|
+
### v0.3.0
|
|
252
|
+
|
|
253
|
+
- [ ] Hyperparameter Tuning
|
|
254
|
+
- [ ] Feature Importance
|
|
255
|
+
- [ ] Model Explainability
|
|
256
|
+
|
|
257
|
+
### v1.0.0
|
|
258
|
+
|
|
259
|
+
- [ ] AutoML Workflow
|
|
260
|
+
- [ ] Pipeline Support
|
|
261
|
+
- [ ] SHAP Integration
|
|
262
|
+
- [ ] XGBoost
|
|
263
|
+
- [ ] LightGBM
|
|
264
|
+
- [ ] CatBoost
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## 🤝 Contributing
|
|
269
|
+
|
|
270
|
+
Contributions, feature requests, improvements, and bug reports are welcome!
|
|
271
|
+
|
|
272
|
+
1. Fork the repository
|
|
273
|
+
2. Create a feature branch
|
|
274
|
+
3. Make your changes
|
|
275
|
+
4. Test your changes
|
|
276
|
+
5. Open a Pull Request
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## 📄 License
|
|
281
|
+
|
|
282
|
+
MLCompare is released under the **MIT License**.
|
|
283
|
+
|
|
284
|
+
---
|
|
285
|
+
|
|
286
|
+
## 👨💻 Author
|
|
287
|
+
|
|
288
|
+
### Manish Kumar
|
|
289
|
+
|
|
290
|
+
Aspiring Data Scientist & Machine Learning Engineer
|
|
291
|
+
|
|
292
|
+
- 💻 GitHub: https://github.com/Developer-Manish007
|
|
293
|
+
- 📦 PyPI: https://pypi.org/project/mlcompare-dev/
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
<div align="center">
|
|
298
|
+
|
|
299
|
+
## ⭐ Support MLCompare
|
|
300
|
+
|
|
301
|
+
If you find MLCompare useful, consider giving the repository a ⭐ on GitHub.
|
|
302
|
+
|
|
303
|
+
[**📦 Install from PyPI**](https://pypi.org/project/mlcompare-dev/) • [**⭐ Star on GitHub**](https://github.com/Developer-Manish007/mlcompare)
|
|
304
|
+
|
|
305
|
+
### Built with 🐍 Python & ❤️ for the Machine Learning community
|
|
306
|
+
|
|
307
|
+
</div>
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# 🚀 MLCompare
|
|
4
|
+
|
|
5
|
+
### Compare Machine Learning Models in Just a Few Lines of Code
|
|
6
|
+
|
|
7
|
+
A lightweight, beginner-friendly Python package for **Classification** and **Regression** that helps you train, evaluate, compare, and save Machine Learning models with a simple API.
|
|
8
|
+
|
|
9
|
+
[](https://pypi.org/project/mlcompare-dev/)
|
|
10
|
+
[](https://pypi.org/project/mlcompare-dev/)
|
|
11
|
+
[](https://pypi.org/project/mlcompare-dev/)
|
|
12
|
+
[](LICENSE)
|
|
13
|
+
[](https://github.com/Developer-Manish007/mlcompare)
|
|
14
|
+
|
|
15
|
+
[**📦 View on PyPI**](https://pypi.org/project/mlcompare-dev/) • [**💻 View on GitHub**](https://github.com/Developer-Manish007/mlcompare)
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 🧠 What is MLCompare?
|
|
22
|
+
|
|
23
|
+
Machine Learning experimentation often involves repeating the same workflow for multiple algorithms:
|
|
24
|
+
|
|
25
|
+
**Prepare Data → Select Model → Train → Evaluate → Compare**
|
|
26
|
+
|
|
27
|
+
Doing this manually for every model can lead to repetitive code and slower experimentation.
|
|
28
|
+
|
|
29
|
+
**MLCompare** is designed to simplify this process by providing a reusable interface for comparing multiple Machine Learning models for **Classification** and **Regression** tasks.
|
|
30
|
+
|
|
31
|
+
> **Goal:** Reduce repetitive ML boilerplate and make model comparison simple, fast, and beginner-friendly.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## ✨ Features
|
|
36
|
+
|
|
37
|
+
- 🎯 **Classification & Regression** support
|
|
38
|
+
- 🤖 **Multiple model comparison** in a single workflow
|
|
39
|
+
- 📊 **Performance evaluation** and result comparison
|
|
40
|
+
- 🏆 **Best model selection**
|
|
41
|
+
- 💾 **Save trained models**
|
|
42
|
+
- 📂 **Load saved models**
|
|
43
|
+
- 🔮 **Prediction support**
|
|
44
|
+
- 🧩 **Simple and beginner-friendly API**
|
|
45
|
+
- 🐍 Built with the **Scikit-Learn** ecosystem
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 📦 Installation
|
|
50
|
+
|
|
51
|
+
### Install from PyPI
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pip install mlcompare-dev
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Install locally for development
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
git clone https://github.com/Developer-Manish007/mlcompare.git
|
|
61
|
+
cd mlcompare
|
|
62
|
+
pip install -e .
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### 🔗 Important Links
|
|
66
|
+
|
|
67
|
+
| Resource | Link |
|
|
68
|
+
|---|---|
|
|
69
|
+
| 📦 PyPI Package | https://pypi.org/project/mlcompare-dev/ |
|
|
70
|
+
| 💻 GitHub Repository | https://github.com/Developer-Manish007/mlcompare |
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 🚀 Quick Start
|
|
75
|
+
|
|
76
|
+
```python
|
|
77
|
+
from mlcompare import MLCompare
|
|
78
|
+
from sklearn.datasets import load_iris
|
|
79
|
+
from sklearn.model_selection import train_test_split
|
|
80
|
+
|
|
81
|
+
# Load dataset
|
|
82
|
+
X, y = load_iris(return_X_y=True)
|
|
83
|
+
|
|
84
|
+
# Split dataset
|
|
85
|
+
X_train, X_test, y_train, y_test = train_test_split(
|
|
86
|
+
X,
|
|
87
|
+
y,
|
|
88
|
+
test_size=0.2,
|
|
89
|
+
random_state=42
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
# Create MLCompare object
|
|
93
|
+
mc = MLCompare()
|
|
94
|
+
|
|
95
|
+
# Train models
|
|
96
|
+
mc.fit(X_train, y_train)
|
|
97
|
+
|
|
98
|
+
# Compare models
|
|
99
|
+
results = mc.compare()
|
|
100
|
+
|
|
101
|
+
print(results)
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 💾 Save a Model
|
|
107
|
+
|
|
108
|
+
Save a trained model for later use:
|
|
109
|
+
|
|
110
|
+
```python
|
|
111
|
+
mc.save("best_model.pkl")
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## 📂 Load a Model
|
|
117
|
+
|
|
118
|
+
```python
|
|
119
|
+
from mlcompare import load_model
|
|
120
|
+
|
|
121
|
+
model = load_model("best_model.pkl")
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## 📊 Supported Models
|
|
127
|
+
|
|
128
|
+
### 🔵 Classification
|
|
129
|
+
|
|
130
|
+
- Logistic Regression
|
|
131
|
+
- K-Nearest Neighbors (KNN)
|
|
132
|
+
- Decision Tree
|
|
133
|
+
- Random Forest
|
|
134
|
+
- Support Vector Machine (SVM)
|
|
135
|
+
- Gaussian Naive Bayes
|
|
136
|
+
|
|
137
|
+
### 🟢 Regression
|
|
138
|
+
|
|
139
|
+
- Linear Regression
|
|
140
|
+
- Decision Tree Regressor
|
|
141
|
+
- Random Forest Regressor
|
|
142
|
+
- K-Neighbors Regressor
|
|
143
|
+
- Support Vector Regressor
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## 🔄 MLCompare Workflow
|
|
148
|
+
|
|
149
|
+
```text
|
|
150
|
+
┌─────────────────┐
|
|
151
|
+
│ Dataset │
|
|
152
|
+
└────────┬────────┘
|
|
153
|
+
↓
|
|
154
|
+
┌─────────────────┐
|
|
155
|
+
│ Data Setup │
|
|
156
|
+
└────────┬────────┘
|
|
157
|
+
↓
|
|
158
|
+
┌─────────────────┐
|
|
159
|
+
│ Model Training │
|
|
160
|
+
└────────┬────────┘
|
|
161
|
+
↓
|
|
162
|
+
┌─────────────────┐
|
|
163
|
+
│ Evaluation │
|
|
164
|
+
└────────┬────────┘
|
|
165
|
+
↓
|
|
166
|
+
┌─────────────────┐
|
|
167
|
+
│ Model Comparison│
|
|
168
|
+
└────────┬────────┘
|
|
169
|
+
↓
|
|
170
|
+
┌─────────────────┐
|
|
171
|
+
│ Best Model │
|
|
172
|
+
└─────────────────┘
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
The workflow is designed to make it easier to experiment with multiple models without rewriting the same comparison logic repeatedly.
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## 🧪 Example Use Case
|
|
180
|
+
|
|
181
|
+
Suppose you have a classification dataset and want to test several algorithms.
|
|
182
|
+
|
|
183
|
+
Instead of creating separate training and evaluation code for every model, MLCompare provides a common workflow where the models can be trained and compared together.
|
|
184
|
+
|
|
185
|
+
This is especially useful for:
|
|
186
|
+
|
|
187
|
+
- 📚 Learning Machine Learning
|
|
188
|
+
- 🔬 Model experimentation
|
|
189
|
+
- 📊 Exploratory model comparison
|
|
190
|
+
- 🧑💻 Data Science projects
|
|
191
|
+
- ⚡ Rapid prototyping
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## 📁 Project Structure
|
|
196
|
+
|
|
197
|
+
```text
|
|
198
|
+
mlcompare/
|
|
199
|
+
│
|
|
200
|
+
├── mlcompare/
|
|
201
|
+
│ ├── core.py
|
|
202
|
+
│ ├── models.py
|
|
203
|
+
│ ├── metrics.py
|
|
204
|
+
│ ├── save.py
|
|
205
|
+
│ ├── utils.py
|
|
206
|
+
│ ├── version.py
|
|
207
|
+
│ └── __init__.py
|
|
208
|
+
│
|
|
209
|
+
├── examples/
|
|
210
|
+
├── README.md
|
|
211
|
+
├── setup.py
|
|
212
|
+
├── requirements.txt
|
|
213
|
+
├── LICENSE
|
|
214
|
+
└── .gitignore
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## 🛣️ Roadmap
|
|
220
|
+
|
|
221
|
+
### v0.2.0
|
|
222
|
+
|
|
223
|
+
- [ ] StandardScaler
|
|
224
|
+
- [ ] MinMaxScaler
|
|
225
|
+
- [ ] RobustScaler
|
|
226
|
+
- [ ] Cross Validation
|
|
227
|
+
- [ ] More Evaluation Metrics
|
|
228
|
+
|
|
229
|
+
### v0.3.0
|
|
230
|
+
|
|
231
|
+
- [ ] Hyperparameter Tuning
|
|
232
|
+
- [ ] Feature Importance
|
|
233
|
+
- [ ] Model Explainability
|
|
234
|
+
|
|
235
|
+
### v1.0.0
|
|
236
|
+
|
|
237
|
+
- [ ] AutoML Workflow
|
|
238
|
+
- [ ] Pipeline Support
|
|
239
|
+
- [ ] SHAP Integration
|
|
240
|
+
- [ ] XGBoost
|
|
241
|
+
- [ ] LightGBM
|
|
242
|
+
- [ ] CatBoost
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
## 🤝 Contributing
|
|
247
|
+
|
|
248
|
+
Contributions, feature requests, improvements, and bug reports are welcome!
|
|
249
|
+
|
|
250
|
+
1. Fork the repository
|
|
251
|
+
2. Create a feature branch
|
|
252
|
+
3. Make your changes
|
|
253
|
+
4. Test your changes
|
|
254
|
+
5. Open a Pull Request
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## 📄 License
|
|
259
|
+
|
|
260
|
+
MLCompare is released under the **MIT License**.
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
## 👨💻 Author
|
|
265
|
+
|
|
266
|
+
### Manish Kumar
|
|
267
|
+
|
|
268
|
+
Aspiring Data Scientist & Machine Learning Engineer
|
|
269
|
+
|
|
270
|
+
- 💻 GitHub: https://github.com/Developer-Manish007
|
|
271
|
+
- 📦 PyPI: https://pypi.org/project/mlcompare-dev/
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
<div align="center">
|
|
276
|
+
|
|
277
|
+
## ⭐ Support MLCompare
|
|
278
|
+
|
|
279
|
+
If you find MLCompare useful, consider giving the repository a ⭐ on GitHub.
|
|
280
|
+
|
|
281
|
+
[**📦 Install from PyPI**](https://pypi.org/project/mlcompare-dev/) • [**⭐ Star on GitHub**](https://github.com/Developer-Manish007/mlcompare)
|
|
282
|
+
|
|
283
|
+
### Built with 🐍 Python & ❤️ for the Machine Learning community
|
|
284
|
+
|
|
285
|
+
</div>
|