model-lab-tool 1.0.0__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.
- model_lab_tool-1.0.0/LICENSE +21 -0
- model_lab_tool-1.0.0/PKG-INFO +123 -0
- model_lab_tool-1.0.0/README.md +109 -0
- model_lab_tool-1.0.0/model_lab_tool.egg-info/PKG-INFO +123 -0
- model_lab_tool-1.0.0/model_lab_tool.egg-info/SOURCES.txt +9 -0
- model_lab_tool-1.0.0/model_lab_tool.egg-info/dependency_links.txt +1 -0
- model_lab_tool-1.0.0/model_lab_tool.egg-info/entry_points.txt +2 -0
- model_lab_tool-1.0.0/model_lab_tool.egg-info/requires.txt +3 -0
- model_lab_tool-1.0.0/model_lab_tool.egg-info/top_level.txt +6 -0
- model_lab_tool-1.0.0/pyproject.toml +32 -0
- model_lab_tool-1.0.0/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Omar Elhalaby
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: model-lab-tool
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A modular machine learning toolkit supporting classification and regression.
|
|
5
|
+
Author: Omar Elhalaby
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: pandas
|
|
11
|
+
Requires-Dist: numpy
|
|
12
|
+
Requires-Dist: scikit-learn
|
|
13
|
+
Dynamic: license-file
|
|
14
|
+
|
|
15
|
+
# ModelLab
|
|
16
|
+
|
|
17
|
+
**A modular machine learning toolkit for training and comparing classification and regression models.**
|
|
18
|
+
|
|
19
|
+
ModelLab is a Python-based machine learning project designed to simplify the process of loading datasets, preparing data, training multiple machine learning models, and evaluating their performance.
|
|
20
|
+
|
|
21
|
+
It supports both classification and regression tasks through a modular architecture built with Scikit-learn.
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
- Load datasets from CSV files.
|
|
26
|
+
- Separate features and target variables.
|
|
27
|
+
- Validate datasets and detect common data issues.
|
|
28
|
+
- Handle missing values through data cleaning and imputation.
|
|
29
|
+
- Split datasets into training and testing sets.
|
|
30
|
+
- Train multiple machine learning models.
|
|
31
|
+
- Evaluate model performance using task-specific metrics.
|
|
32
|
+
- Compare different models using their evaluation results.
|
|
33
|
+
|
|
34
|
+
## Supported Models
|
|
35
|
+
|
|
36
|
+
### Classification
|
|
37
|
+
|
|
38
|
+
- Logistic Regression
|
|
39
|
+
- Decision Tree Classifier
|
|
40
|
+
- Random Forest Classifier
|
|
41
|
+
|
|
42
|
+
### Regression
|
|
43
|
+
|
|
44
|
+
- Linear Regression
|
|
45
|
+
- Decision Tree Regressor
|
|
46
|
+
- Random Forest Regressor
|
|
47
|
+
|
|
48
|
+
## Evaluation Metrics
|
|
49
|
+
|
|
50
|
+
### Classification
|
|
51
|
+
|
|
52
|
+
- Accuracy
|
|
53
|
+
- Precision
|
|
54
|
+
- Recall
|
|
55
|
+
- F1 Score
|
|
56
|
+
|
|
57
|
+
### Regression
|
|
58
|
+
|
|
59
|
+
- Mean Absolute Error (MAE)
|
|
60
|
+
- Mean Squared Error (MSE)
|
|
61
|
+
- Root Mean Squared Error (RMSE)
|
|
62
|
+
- R² Score
|
|
63
|
+
|
|
64
|
+
## Installation
|
|
65
|
+
|
|
66
|
+
Install ModelLab using pip:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pip install model-lab-tool
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Install dependencies manually if needed:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
pip install pandas numpy scikit-learn
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Usage
|
|
79
|
+
|
|
80
|
+
ModelLab accepts a CSV dataset and allows you to specify:
|
|
81
|
+
|
|
82
|
+
1. The dataset file path.
|
|
83
|
+
2. The CSV separator.
|
|
84
|
+
3. The target column.
|
|
85
|
+
4. The machine learning task type:
|
|
86
|
+
- `classification`
|
|
87
|
+
- `regression`
|
|
88
|
+
|
|
89
|
+
The application then processes the dataset, trains the selected models, and evaluates their performance.
|
|
90
|
+
|
|
91
|
+
## Project Architecture
|
|
92
|
+
|
|
93
|
+
ModelLab follows a modular structure, separating different responsibilities into individual Python modules.
|
|
94
|
+
|
|
95
|
+
| Module | Responsibility |
|
|
96
|
+
|---|---|
|
|
97
|
+
| `main.py` | Main application workflow |
|
|
98
|
+
| `data_loader.py` | Dataset loading and feature-target separation |
|
|
99
|
+
| `data_cleaner.py` | Data cleaning and missing-value handling |
|
|
100
|
+
| `data_splitter.py` | Training and testing data splitting |
|
|
101
|
+
| `model.py` | Model selection and training |
|
|
102
|
+
| `evaluator.py` | Model evaluation |
|
|
103
|
+
|
|
104
|
+
## Dependencies
|
|
105
|
+
|
|
106
|
+
- Python
|
|
107
|
+
- Pandas
|
|
108
|
+
- NumPy
|
|
109
|
+
- Scikit-learn
|
|
110
|
+
|
|
111
|
+
## Project Status
|
|
112
|
+
|
|
113
|
+
ModelLab currently supports basic classification and regression workflows.
|
|
114
|
+
|
|
115
|
+
The project is under active development, and additional functionality may be introduced in future releases.
|
|
116
|
+
|
|
117
|
+
## License
|
|
118
|
+
|
|
119
|
+
See the LICENSE file for licensing information (MIT License).
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
**Developed as a modular machine learning project using Python and Scikit-learn.**
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# ModelLab
|
|
2
|
+
|
|
3
|
+
**A modular machine learning toolkit for training and comparing classification and regression models.**
|
|
4
|
+
|
|
5
|
+
ModelLab is a Python-based machine learning project designed to simplify the process of loading datasets, preparing data, training multiple machine learning models, and evaluating their performance.
|
|
6
|
+
|
|
7
|
+
It supports both classification and regression tasks through a modular architecture built with Scikit-learn.
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
- Load datasets from CSV files.
|
|
12
|
+
- Separate features and target variables.
|
|
13
|
+
- Validate datasets and detect common data issues.
|
|
14
|
+
- Handle missing values through data cleaning and imputation.
|
|
15
|
+
- Split datasets into training and testing sets.
|
|
16
|
+
- Train multiple machine learning models.
|
|
17
|
+
- Evaluate model performance using task-specific metrics.
|
|
18
|
+
- Compare different models using their evaluation results.
|
|
19
|
+
|
|
20
|
+
## Supported Models
|
|
21
|
+
|
|
22
|
+
### Classification
|
|
23
|
+
|
|
24
|
+
- Logistic Regression
|
|
25
|
+
- Decision Tree Classifier
|
|
26
|
+
- Random Forest Classifier
|
|
27
|
+
|
|
28
|
+
### Regression
|
|
29
|
+
|
|
30
|
+
- Linear Regression
|
|
31
|
+
- Decision Tree Regressor
|
|
32
|
+
- Random Forest Regressor
|
|
33
|
+
|
|
34
|
+
## Evaluation Metrics
|
|
35
|
+
|
|
36
|
+
### Classification
|
|
37
|
+
|
|
38
|
+
- Accuracy
|
|
39
|
+
- Precision
|
|
40
|
+
- Recall
|
|
41
|
+
- F1 Score
|
|
42
|
+
|
|
43
|
+
### Regression
|
|
44
|
+
|
|
45
|
+
- Mean Absolute Error (MAE)
|
|
46
|
+
- Mean Squared Error (MSE)
|
|
47
|
+
- Root Mean Squared Error (RMSE)
|
|
48
|
+
- R² Score
|
|
49
|
+
|
|
50
|
+
## Installation
|
|
51
|
+
|
|
52
|
+
Install ModelLab using pip:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
pip install model-lab-tool
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Install dependencies manually if needed:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
pip install pandas numpy scikit-learn
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Usage
|
|
65
|
+
|
|
66
|
+
ModelLab accepts a CSV dataset and allows you to specify:
|
|
67
|
+
|
|
68
|
+
1. The dataset file path.
|
|
69
|
+
2. The CSV separator.
|
|
70
|
+
3. The target column.
|
|
71
|
+
4. The machine learning task type:
|
|
72
|
+
- `classification`
|
|
73
|
+
- `regression`
|
|
74
|
+
|
|
75
|
+
The application then processes the dataset, trains the selected models, and evaluates their performance.
|
|
76
|
+
|
|
77
|
+
## Project Architecture
|
|
78
|
+
|
|
79
|
+
ModelLab follows a modular structure, separating different responsibilities into individual Python modules.
|
|
80
|
+
|
|
81
|
+
| Module | Responsibility |
|
|
82
|
+
|---|---|
|
|
83
|
+
| `main.py` | Main application workflow |
|
|
84
|
+
| `data_loader.py` | Dataset loading and feature-target separation |
|
|
85
|
+
| `data_cleaner.py` | Data cleaning and missing-value handling |
|
|
86
|
+
| `data_splitter.py` | Training and testing data splitting |
|
|
87
|
+
| `model.py` | Model selection and training |
|
|
88
|
+
| `evaluator.py` | Model evaluation |
|
|
89
|
+
|
|
90
|
+
## Dependencies
|
|
91
|
+
|
|
92
|
+
- Python
|
|
93
|
+
- Pandas
|
|
94
|
+
- NumPy
|
|
95
|
+
- Scikit-learn
|
|
96
|
+
|
|
97
|
+
## Project Status
|
|
98
|
+
|
|
99
|
+
ModelLab currently supports basic classification and regression workflows.
|
|
100
|
+
|
|
101
|
+
The project is under active development, and additional functionality may be introduced in future releases.
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
105
|
+
See the LICENSE file for licensing information (MIT License).
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
**Developed as a modular machine learning project using Python and Scikit-learn.**
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: model-lab-tool
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A modular machine learning toolkit supporting classification and regression.
|
|
5
|
+
Author: Omar Elhalaby
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: pandas
|
|
11
|
+
Requires-Dist: numpy
|
|
12
|
+
Requires-Dist: scikit-learn
|
|
13
|
+
Dynamic: license-file
|
|
14
|
+
|
|
15
|
+
# ModelLab
|
|
16
|
+
|
|
17
|
+
**A modular machine learning toolkit for training and comparing classification and regression models.**
|
|
18
|
+
|
|
19
|
+
ModelLab is a Python-based machine learning project designed to simplify the process of loading datasets, preparing data, training multiple machine learning models, and evaluating their performance.
|
|
20
|
+
|
|
21
|
+
It supports both classification and regression tasks through a modular architecture built with Scikit-learn.
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
- Load datasets from CSV files.
|
|
26
|
+
- Separate features and target variables.
|
|
27
|
+
- Validate datasets and detect common data issues.
|
|
28
|
+
- Handle missing values through data cleaning and imputation.
|
|
29
|
+
- Split datasets into training and testing sets.
|
|
30
|
+
- Train multiple machine learning models.
|
|
31
|
+
- Evaluate model performance using task-specific metrics.
|
|
32
|
+
- Compare different models using their evaluation results.
|
|
33
|
+
|
|
34
|
+
## Supported Models
|
|
35
|
+
|
|
36
|
+
### Classification
|
|
37
|
+
|
|
38
|
+
- Logistic Regression
|
|
39
|
+
- Decision Tree Classifier
|
|
40
|
+
- Random Forest Classifier
|
|
41
|
+
|
|
42
|
+
### Regression
|
|
43
|
+
|
|
44
|
+
- Linear Regression
|
|
45
|
+
- Decision Tree Regressor
|
|
46
|
+
- Random Forest Regressor
|
|
47
|
+
|
|
48
|
+
## Evaluation Metrics
|
|
49
|
+
|
|
50
|
+
### Classification
|
|
51
|
+
|
|
52
|
+
- Accuracy
|
|
53
|
+
- Precision
|
|
54
|
+
- Recall
|
|
55
|
+
- F1 Score
|
|
56
|
+
|
|
57
|
+
### Regression
|
|
58
|
+
|
|
59
|
+
- Mean Absolute Error (MAE)
|
|
60
|
+
- Mean Squared Error (MSE)
|
|
61
|
+
- Root Mean Squared Error (RMSE)
|
|
62
|
+
- R² Score
|
|
63
|
+
|
|
64
|
+
## Installation
|
|
65
|
+
|
|
66
|
+
Install ModelLab using pip:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pip install model-lab-tool
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Install dependencies manually if needed:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
pip install pandas numpy scikit-learn
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Usage
|
|
79
|
+
|
|
80
|
+
ModelLab accepts a CSV dataset and allows you to specify:
|
|
81
|
+
|
|
82
|
+
1. The dataset file path.
|
|
83
|
+
2. The CSV separator.
|
|
84
|
+
3. The target column.
|
|
85
|
+
4. The machine learning task type:
|
|
86
|
+
- `classification`
|
|
87
|
+
- `regression`
|
|
88
|
+
|
|
89
|
+
The application then processes the dataset, trains the selected models, and evaluates their performance.
|
|
90
|
+
|
|
91
|
+
## Project Architecture
|
|
92
|
+
|
|
93
|
+
ModelLab follows a modular structure, separating different responsibilities into individual Python modules.
|
|
94
|
+
|
|
95
|
+
| Module | Responsibility |
|
|
96
|
+
|---|---|
|
|
97
|
+
| `main.py` | Main application workflow |
|
|
98
|
+
| `data_loader.py` | Dataset loading and feature-target separation |
|
|
99
|
+
| `data_cleaner.py` | Data cleaning and missing-value handling |
|
|
100
|
+
| `data_splitter.py` | Training and testing data splitting |
|
|
101
|
+
| `model.py` | Model selection and training |
|
|
102
|
+
| `evaluator.py` | Model evaluation |
|
|
103
|
+
|
|
104
|
+
## Dependencies
|
|
105
|
+
|
|
106
|
+
- Python
|
|
107
|
+
- Pandas
|
|
108
|
+
- NumPy
|
|
109
|
+
- Scikit-learn
|
|
110
|
+
|
|
111
|
+
## Project Status
|
|
112
|
+
|
|
113
|
+
ModelLab currently supports basic classification and regression workflows.
|
|
114
|
+
|
|
115
|
+
The project is under active development, and additional functionality may be introduced in future releases.
|
|
116
|
+
|
|
117
|
+
## License
|
|
118
|
+
|
|
119
|
+
See the LICENSE file for licensing information (MIT License).
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
**Developed as a modular machine learning project using Python and Scikit-learn.**
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
model_lab_tool.egg-info/PKG-INFO
|
|
5
|
+
model_lab_tool.egg-info/SOURCES.txt
|
|
6
|
+
model_lab_tool.egg-info/dependency_links.txt
|
|
7
|
+
model_lab_tool.egg-info/entry_points.txt
|
|
8
|
+
model_lab_tool.egg-info/requires.txt
|
|
9
|
+
model_lab_tool.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "model-lab-tool"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "A modular machine learning toolkit supporting classification and regression."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "Omar Elhalaby"}
|
|
14
|
+
]
|
|
15
|
+
dependencies = [
|
|
16
|
+
"pandas",
|
|
17
|
+
"numpy",
|
|
18
|
+
"scikit-learn"
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[tool.setuptools]
|
|
22
|
+
py-modules = [
|
|
23
|
+
"main",
|
|
24
|
+
"data_loader",
|
|
25
|
+
"data_cleaner",
|
|
26
|
+
"data_splitter",
|
|
27
|
+
"model",
|
|
28
|
+
"evaluator"
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
[project.scripts]
|
|
32
|
+
model-lab = "main:main"
|