dragon-ml-toolbox 3.12.6__tar.gz → 4.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.

Potentially problematic release.


This version of dragon-ml-toolbox might be problematic. Click here for more details.

Files changed (39) hide show
  1. dragon_ml_toolbox-4.0.0/PKG-INFO +230 -0
  2. dragon_ml_toolbox-4.0.0/README.md +159 -0
  3. dragon_ml_toolbox-4.0.0/dragon_ml_toolbox.egg-info/PKG-INFO +230 -0
  4. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/dragon_ml_toolbox.egg-info/SOURCES.txt +5 -2
  5. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/dragon_ml_toolbox.egg-info/requires.txt +44 -11
  6. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/ETL_engineering.py +2 -2
  7. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/GUI_tools.py +2 -2
  8. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/MICE_imputation.py +4 -3
  9. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/ML_callbacks.py +8 -4
  10. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/ML_evaluation.py +11 -6
  11. dragon_ml_toolbox-4.0.0/ml_tools/ML_inference.py +131 -0
  12. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/ML_trainer.py +17 -8
  13. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/PSO_optimization.py +7 -12
  14. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/RNN_forecast.py +5 -0
  15. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/VIF_factor.py +4 -3
  16. dragon_ml_toolbox-4.0.0/ml_tools/_logger.py +36 -0
  17. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/_pytorch_models.py +1 -1
  18. dragon_ml_toolbox-4.0.0/ml_tools/_script_info.py +8 -0
  19. dragon_ml_toolbox-3.12.6/ml_tools/logger.py → dragon_ml_toolbox-4.0.0/ml_tools/custom_logger.py +4 -66
  20. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/data_exploration.py +2 -66
  21. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/datasetmaster.py +3 -2
  22. dragon_ml_toolbox-4.0.0/ml_tools/ensemble_inference.py +249 -0
  23. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/ensemble_learning.py +40 -294
  24. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/handle_excel.py +3 -2
  25. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/keys.py +13 -2
  26. dragon_ml_toolbox-4.0.0/ml_tools/path_manager.py +375 -0
  27. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/utilities.py +2 -180
  28. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/pyproject.toml +62 -18
  29. dragon_ml_toolbox-3.12.6/PKG-INFO +0 -137
  30. dragon_ml_toolbox-3.12.6/README.md +0 -94
  31. dragon_ml_toolbox-3.12.6/dragon_ml_toolbox.egg-info/PKG-INFO +0 -137
  32. dragon_ml_toolbox-3.12.6/ml_tools/ML_tutorial.py +0 -300
  33. dragon_ml_toolbox-3.12.6/ml_tools/path_manager.py +0 -212
  34. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/LICENSE +0 -0
  35. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/LICENSE-THIRD-PARTY.md +0 -0
  36. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/dragon_ml_toolbox.egg-info/dependency_links.txt +0 -0
  37. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/dragon_ml_toolbox.egg-info/top_level.txt +0 -0
  38. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/ml_tools/__init__.py +0 -0
  39. {dragon_ml_toolbox-3.12.6 → dragon_ml_toolbox-4.0.0}/setup.cfg +0 -0
@@ -0,0 +1,230 @@
1
+ Metadata-Version: 2.4
2
+ Name: dragon-ml-toolbox
3
+ Version: 4.0.0
4
+ Summary: A collection of tools for data science and machine learning projects.
5
+ Author-email: Karl Loza <luigiloza@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/DrAg0n-BoRn/ML_tools
8
+ Project-URL: Changelog, https://github.com/DrAg0n-BoRn/ML_tools/blob/master/CHANGELOG.md
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ License-File: LICENSE-THIRD-PARTY.md
15
+ Provides-Extra: ml
16
+ Requires-Dist: numpy; extra == "ml"
17
+ Requires-Dist: pandas; extra == "ml"
18
+ Requires-Dist: polars; extra == "ml"
19
+ Requires-Dist: joblib; extra == "ml"
20
+ Requires-Dist: scikit-learn; extra == "ml"
21
+ Requires-Dist: matplotlib; extra == "ml"
22
+ Requires-Dist: seaborn; extra == "ml"
23
+ Requires-Dist: imbalanced-learn; extra == "ml"
24
+ Requires-Dist: ipython; extra == "ml"
25
+ Requires-Dist: ipykernel; extra == "ml"
26
+ Requires-Dist: notebook; extra == "ml"
27
+ Requires-Dist: jupyterlab; extra == "ml"
28
+ Requires-Dist: ipywidgets; extra == "ml"
29
+ Requires-Dist: xgboost; extra == "ml"
30
+ Requires-Dist: lightgbm; extra == "ml"
31
+ Requires-Dist: shap; extra == "ml"
32
+ Requires-Dist: tqdm; extra == "ml"
33
+ Requires-Dist: Pillow; extra == "ml"
34
+ Provides-Extra: mice
35
+ Requires-Dist: numpy<2.0; extra == "mice"
36
+ Requires-Dist: pandas; extra == "mice"
37
+ Requires-Dist: polars; extra == "mice"
38
+ Requires-Dist: joblib; extra == "mice"
39
+ Requires-Dist: miceforest>=6.0.0; extra == "mice"
40
+ Requires-Dist: plotnine>=0.12; extra == "mice"
41
+ Requires-Dist: matplotlib; extra == "mice"
42
+ Requires-Dist: statsmodels; extra == "mice"
43
+ Requires-Dist: lightgbm<=4.5.0; extra == "mice"
44
+ Requires-Dist: shap; extra == "mice"
45
+ Provides-Extra: pytorch
46
+ Requires-Dist: torch; extra == "pytorch"
47
+ Requires-Dist: torchvision; extra == "pytorch"
48
+ Provides-Extra: excel
49
+ Requires-Dist: pandas; extra == "excel"
50
+ Requires-Dist: openpyxl; extra == "excel"
51
+ Requires-Dist: ipython; extra == "excel"
52
+ Requires-Dist: ipykernel; extra == "excel"
53
+ Requires-Dist: notebook; extra == "excel"
54
+ Requires-Dist: jupyterlab; extra == "excel"
55
+ Requires-Dist: ipywidgets; extra == "excel"
56
+ Provides-Extra: gui-boost
57
+ Requires-Dist: numpy; extra == "gui-boost"
58
+ Requires-Dist: joblib; extra == "gui-boost"
59
+ Requires-Dist: FreeSimpleGUI>=5.2; extra == "gui-boost"
60
+ Requires-Dist: pyinstaller; extra == "gui-boost"
61
+ Requires-Dist: xgboost; extra == "gui-boost"
62
+ Requires-Dist: lightgbm; extra == "gui-boost"
63
+ Provides-Extra: gui-torch
64
+ Requires-Dist: numpy; extra == "gui-torch"
65
+ Requires-Dist: FreeSimpleGUI>=5.2; extra == "gui-torch"
66
+ Requires-Dist: pyinstaller; extra == "gui-torch"
67
+ Provides-Extra: plot
68
+ Requires-Dist: matplotlib; extra == "plot"
69
+ Requires-Dist: seaborn; extra == "plot"
70
+ Dynamic: license-file
71
+
72
+ # dragon-ml-toolbox
73
+
74
+ A collection of Python utilities for data science and machine learning, structured as a modular package for easy reuse and installation. This package has no base dependencies, allowing for lightweight and customized virtual environments.
75
+
76
+ ### Features:
77
+
78
+ - Modular scripts for data exploration, logging, machine learning, and more.
79
+ - Designed for seamless integration as a Git submodule or installable Python package.
80
+
81
+ ## Installation
82
+
83
+ **Python 3.10+**
84
+
85
+ ### Via PyPI
86
+
87
+ Install the latest stable release from PyPI:
88
+
89
+ ```bash
90
+ pip install dragon-ml-toolbox
91
+ ```
92
+
93
+ ### Via GitHub (Editable)
94
+
95
+ Clone the repository and install in editable mode with optional dependencies:
96
+
97
+ ```bash
98
+ git clone https://github.com/DrAg0n-BoRn/ML_tools.git
99
+ cd ML_tools
100
+ pip install -e .
101
+ ```
102
+
103
+ ### Via conda-forge
104
+
105
+ Install from the conda-forge channel:
106
+
107
+ ```bash
108
+ conda install -c conda-forge dragon-ml-toolbox
109
+ ```
110
+ **Note:** This version is outdated or broken due to dependency incompatibilities. Use PyPi instead.
111
+
112
+ ## Modular Installation
113
+
114
+ ### 📦 Core Machine Learning Toolbox [ML]
115
+
116
+ Installs a comprehensive set of tools for typical data science workflows, including data manipulation, modeling, and evaluation. PyTorch is required.
117
+
118
+ ```Bash
119
+ pip install "dragon-ml-toolbox[ML]"
120
+ ```
121
+
122
+ To install the standard CPU-only versions of Torch and Torchvision:
123
+
124
+ ```Bash
125
+ pip install "dragon-ml-toolbox[pytorch]"
126
+ ```
127
+
128
+ ⚠️ To make use of GPU acceleration (highly recommended), follow the official instructions: [PyTorch website](https://pytorch.org/get-started/locally/)
129
+
130
+ #### Modules:
131
+
132
+ ```bash
133
+ custom_logger
134
+ data_exploration
135
+ datasetmaster
136
+ ensemble_learning
137
+ ensemble_inference
138
+ ETL_engineering
139
+ ML_callbacks
140
+ ML_evaluation
141
+ ML_trainer
142
+ ML_inference
143
+ path_manager
144
+ PSO_optimization
145
+ RNN_forecast
146
+ utilities
147
+ ```
148
+
149
+ ### 🔬 MICE Imputation and Variance Inflation Factor [mice]
150
+
151
+ ⚠️ Important: This group has strict version requirements. It is highly recommended to install this group in a separate virtual environment.
152
+
153
+ ```Bash
154
+ pip install "dragon-ml-toolbox[mice]"
155
+ ```
156
+
157
+ #### Modules:
158
+
159
+ ```bash
160
+ custom_logger
161
+ MICE_imputation
162
+ VIF_factor
163
+ path_manager
164
+ utilities
165
+ ```
166
+
167
+ ### 📋 Excel File Handling [excel]
168
+
169
+ Installs dependencies required to process and handle .xlsx or .xls files.
170
+
171
+ ```Bash
172
+ pip install "dragon-ml-toolbox[excel]"
173
+ ```
174
+
175
+ #### Modules:
176
+
177
+ ```bash
178
+ custom_logger
179
+ handle_excel
180
+ path_manager
181
+ ```
182
+
183
+ ### 🎰 GUI for Boosting Algorithms (XGBoost, LightGBM) [gui-boost]
184
+
185
+ For GUIs that include plotting functionality, you must also install the [plot] extra.
186
+
187
+ ```Bash
188
+ pip install "dragon-ml-toolbox[gui-boost]"
189
+ ```
190
+
191
+ ```Bash
192
+ pip install "dragon-ml-toolbox[gui-boost,plot]"
193
+ ```
194
+
195
+ #### Modules:
196
+
197
+ ```bash
198
+ GUI_tools
199
+ ensemble_inference
200
+ path_manager
201
+ ```
202
+
203
+ ### 🤖 GUI for PyTorch Models [gui-torch]
204
+
205
+ For GUIs that include plotting functionality, you must also install the [plot] extra.
206
+
207
+ ```Bash
208
+ pip install "dragon-ml-toolbox[gui-torch]"
209
+ ```
210
+
211
+ ```Bash
212
+ pip install "dragon-ml-toolbox[gui-torch,plot]"
213
+ ```
214
+
215
+ #### Modules:
216
+
217
+ ```bash
218
+ GUI_tools
219
+ ML_inference
220
+ path_manager
221
+ ```
222
+
223
+ ## Usage
224
+
225
+ After installation, import modules like this:
226
+
227
+ ```python
228
+ from ml_tools.utilities import serialize_object, deserialize_object
229
+ from ml_tools.custom_logger import custom_logger
230
+ ```
@@ -0,0 +1,159 @@
1
+ # dragon-ml-toolbox
2
+
3
+ A collection of Python utilities for data science and machine learning, structured as a modular package for easy reuse and installation. This package has no base dependencies, allowing for lightweight and customized virtual environments.
4
+
5
+ ### Features:
6
+
7
+ - Modular scripts for data exploration, logging, machine learning, and more.
8
+ - Designed for seamless integration as a Git submodule or installable Python package.
9
+
10
+ ## Installation
11
+
12
+ **Python 3.10+**
13
+
14
+ ### Via PyPI
15
+
16
+ Install the latest stable release from PyPI:
17
+
18
+ ```bash
19
+ pip install dragon-ml-toolbox
20
+ ```
21
+
22
+ ### Via GitHub (Editable)
23
+
24
+ Clone the repository and install in editable mode with optional dependencies:
25
+
26
+ ```bash
27
+ git clone https://github.com/DrAg0n-BoRn/ML_tools.git
28
+ cd ML_tools
29
+ pip install -e .
30
+ ```
31
+
32
+ ### Via conda-forge
33
+
34
+ Install from the conda-forge channel:
35
+
36
+ ```bash
37
+ conda install -c conda-forge dragon-ml-toolbox
38
+ ```
39
+ **Note:** This version is outdated or broken due to dependency incompatibilities. Use PyPi instead.
40
+
41
+ ## Modular Installation
42
+
43
+ ### 📦 Core Machine Learning Toolbox [ML]
44
+
45
+ Installs a comprehensive set of tools for typical data science workflows, including data manipulation, modeling, and evaluation. PyTorch is required.
46
+
47
+ ```Bash
48
+ pip install "dragon-ml-toolbox[ML]"
49
+ ```
50
+
51
+ To install the standard CPU-only versions of Torch and Torchvision:
52
+
53
+ ```Bash
54
+ pip install "dragon-ml-toolbox[pytorch]"
55
+ ```
56
+
57
+ ⚠️ To make use of GPU acceleration (highly recommended), follow the official instructions: [PyTorch website](https://pytorch.org/get-started/locally/)
58
+
59
+ #### Modules:
60
+
61
+ ```bash
62
+ custom_logger
63
+ data_exploration
64
+ datasetmaster
65
+ ensemble_learning
66
+ ensemble_inference
67
+ ETL_engineering
68
+ ML_callbacks
69
+ ML_evaluation
70
+ ML_trainer
71
+ ML_inference
72
+ path_manager
73
+ PSO_optimization
74
+ RNN_forecast
75
+ utilities
76
+ ```
77
+
78
+ ### 🔬 MICE Imputation and Variance Inflation Factor [mice]
79
+
80
+ ⚠️ Important: This group has strict version requirements. It is highly recommended to install this group in a separate virtual environment.
81
+
82
+ ```Bash
83
+ pip install "dragon-ml-toolbox[mice]"
84
+ ```
85
+
86
+ #### Modules:
87
+
88
+ ```bash
89
+ custom_logger
90
+ MICE_imputation
91
+ VIF_factor
92
+ path_manager
93
+ utilities
94
+ ```
95
+
96
+ ### 📋 Excel File Handling [excel]
97
+
98
+ Installs dependencies required to process and handle .xlsx or .xls files.
99
+
100
+ ```Bash
101
+ pip install "dragon-ml-toolbox[excel]"
102
+ ```
103
+
104
+ #### Modules:
105
+
106
+ ```bash
107
+ custom_logger
108
+ handle_excel
109
+ path_manager
110
+ ```
111
+
112
+ ### 🎰 GUI for Boosting Algorithms (XGBoost, LightGBM) [gui-boost]
113
+
114
+ For GUIs that include plotting functionality, you must also install the [plot] extra.
115
+
116
+ ```Bash
117
+ pip install "dragon-ml-toolbox[gui-boost]"
118
+ ```
119
+
120
+ ```Bash
121
+ pip install "dragon-ml-toolbox[gui-boost,plot]"
122
+ ```
123
+
124
+ #### Modules:
125
+
126
+ ```bash
127
+ GUI_tools
128
+ ensemble_inference
129
+ path_manager
130
+ ```
131
+
132
+ ### 🤖 GUI for PyTorch Models [gui-torch]
133
+
134
+ For GUIs that include plotting functionality, you must also install the [plot] extra.
135
+
136
+ ```Bash
137
+ pip install "dragon-ml-toolbox[gui-torch]"
138
+ ```
139
+
140
+ ```Bash
141
+ pip install "dragon-ml-toolbox[gui-torch,plot]"
142
+ ```
143
+
144
+ #### Modules:
145
+
146
+ ```bash
147
+ GUI_tools
148
+ ML_inference
149
+ path_manager
150
+ ```
151
+
152
+ ## Usage
153
+
154
+ After installation, import modules like this:
155
+
156
+ ```python
157
+ from ml_tools.utilities import serialize_object, deserialize_object
158
+ from ml_tools.custom_logger import custom_logger
159
+ ```
@@ -0,0 +1,230 @@
1
+ Metadata-Version: 2.4
2
+ Name: dragon-ml-toolbox
3
+ Version: 4.0.0
4
+ Summary: A collection of tools for data science and machine learning projects.
5
+ Author-email: Karl Loza <luigiloza@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/DrAg0n-BoRn/ML_tools
8
+ Project-URL: Changelog, https://github.com/DrAg0n-BoRn/ML_tools/blob/master/CHANGELOG.md
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ License-File: LICENSE-THIRD-PARTY.md
15
+ Provides-Extra: ml
16
+ Requires-Dist: numpy; extra == "ml"
17
+ Requires-Dist: pandas; extra == "ml"
18
+ Requires-Dist: polars; extra == "ml"
19
+ Requires-Dist: joblib; extra == "ml"
20
+ Requires-Dist: scikit-learn; extra == "ml"
21
+ Requires-Dist: matplotlib; extra == "ml"
22
+ Requires-Dist: seaborn; extra == "ml"
23
+ Requires-Dist: imbalanced-learn; extra == "ml"
24
+ Requires-Dist: ipython; extra == "ml"
25
+ Requires-Dist: ipykernel; extra == "ml"
26
+ Requires-Dist: notebook; extra == "ml"
27
+ Requires-Dist: jupyterlab; extra == "ml"
28
+ Requires-Dist: ipywidgets; extra == "ml"
29
+ Requires-Dist: xgboost; extra == "ml"
30
+ Requires-Dist: lightgbm; extra == "ml"
31
+ Requires-Dist: shap; extra == "ml"
32
+ Requires-Dist: tqdm; extra == "ml"
33
+ Requires-Dist: Pillow; extra == "ml"
34
+ Provides-Extra: mice
35
+ Requires-Dist: numpy<2.0; extra == "mice"
36
+ Requires-Dist: pandas; extra == "mice"
37
+ Requires-Dist: polars; extra == "mice"
38
+ Requires-Dist: joblib; extra == "mice"
39
+ Requires-Dist: miceforest>=6.0.0; extra == "mice"
40
+ Requires-Dist: plotnine>=0.12; extra == "mice"
41
+ Requires-Dist: matplotlib; extra == "mice"
42
+ Requires-Dist: statsmodels; extra == "mice"
43
+ Requires-Dist: lightgbm<=4.5.0; extra == "mice"
44
+ Requires-Dist: shap; extra == "mice"
45
+ Provides-Extra: pytorch
46
+ Requires-Dist: torch; extra == "pytorch"
47
+ Requires-Dist: torchvision; extra == "pytorch"
48
+ Provides-Extra: excel
49
+ Requires-Dist: pandas; extra == "excel"
50
+ Requires-Dist: openpyxl; extra == "excel"
51
+ Requires-Dist: ipython; extra == "excel"
52
+ Requires-Dist: ipykernel; extra == "excel"
53
+ Requires-Dist: notebook; extra == "excel"
54
+ Requires-Dist: jupyterlab; extra == "excel"
55
+ Requires-Dist: ipywidgets; extra == "excel"
56
+ Provides-Extra: gui-boost
57
+ Requires-Dist: numpy; extra == "gui-boost"
58
+ Requires-Dist: joblib; extra == "gui-boost"
59
+ Requires-Dist: FreeSimpleGUI>=5.2; extra == "gui-boost"
60
+ Requires-Dist: pyinstaller; extra == "gui-boost"
61
+ Requires-Dist: xgboost; extra == "gui-boost"
62
+ Requires-Dist: lightgbm; extra == "gui-boost"
63
+ Provides-Extra: gui-torch
64
+ Requires-Dist: numpy; extra == "gui-torch"
65
+ Requires-Dist: FreeSimpleGUI>=5.2; extra == "gui-torch"
66
+ Requires-Dist: pyinstaller; extra == "gui-torch"
67
+ Provides-Extra: plot
68
+ Requires-Dist: matplotlib; extra == "plot"
69
+ Requires-Dist: seaborn; extra == "plot"
70
+ Dynamic: license-file
71
+
72
+ # dragon-ml-toolbox
73
+
74
+ A collection of Python utilities for data science and machine learning, structured as a modular package for easy reuse and installation. This package has no base dependencies, allowing for lightweight and customized virtual environments.
75
+
76
+ ### Features:
77
+
78
+ - Modular scripts for data exploration, logging, machine learning, and more.
79
+ - Designed for seamless integration as a Git submodule or installable Python package.
80
+
81
+ ## Installation
82
+
83
+ **Python 3.10+**
84
+
85
+ ### Via PyPI
86
+
87
+ Install the latest stable release from PyPI:
88
+
89
+ ```bash
90
+ pip install dragon-ml-toolbox
91
+ ```
92
+
93
+ ### Via GitHub (Editable)
94
+
95
+ Clone the repository and install in editable mode with optional dependencies:
96
+
97
+ ```bash
98
+ git clone https://github.com/DrAg0n-BoRn/ML_tools.git
99
+ cd ML_tools
100
+ pip install -e .
101
+ ```
102
+
103
+ ### Via conda-forge
104
+
105
+ Install from the conda-forge channel:
106
+
107
+ ```bash
108
+ conda install -c conda-forge dragon-ml-toolbox
109
+ ```
110
+ **Note:** This version is outdated or broken due to dependency incompatibilities. Use PyPi instead.
111
+
112
+ ## Modular Installation
113
+
114
+ ### 📦 Core Machine Learning Toolbox [ML]
115
+
116
+ Installs a comprehensive set of tools for typical data science workflows, including data manipulation, modeling, and evaluation. PyTorch is required.
117
+
118
+ ```Bash
119
+ pip install "dragon-ml-toolbox[ML]"
120
+ ```
121
+
122
+ To install the standard CPU-only versions of Torch and Torchvision:
123
+
124
+ ```Bash
125
+ pip install "dragon-ml-toolbox[pytorch]"
126
+ ```
127
+
128
+ ⚠️ To make use of GPU acceleration (highly recommended), follow the official instructions: [PyTorch website](https://pytorch.org/get-started/locally/)
129
+
130
+ #### Modules:
131
+
132
+ ```bash
133
+ custom_logger
134
+ data_exploration
135
+ datasetmaster
136
+ ensemble_learning
137
+ ensemble_inference
138
+ ETL_engineering
139
+ ML_callbacks
140
+ ML_evaluation
141
+ ML_trainer
142
+ ML_inference
143
+ path_manager
144
+ PSO_optimization
145
+ RNN_forecast
146
+ utilities
147
+ ```
148
+
149
+ ### 🔬 MICE Imputation and Variance Inflation Factor [mice]
150
+
151
+ ⚠️ Important: This group has strict version requirements. It is highly recommended to install this group in a separate virtual environment.
152
+
153
+ ```Bash
154
+ pip install "dragon-ml-toolbox[mice]"
155
+ ```
156
+
157
+ #### Modules:
158
+
159
+ ```bash
160
+ custom_logger
161
+ MICE_imputation
162
+ VIF_factor
163
+ path_manager
164
+ utilities
165
+ ```
166
+
167
+ ### 📋 Excel File Handling [excel]
168
+
169
+ Installs dependencies required to process and handle .xlsx or .xls files.
170
+
171
+ ```Bash
172
+ pip install "dragon-ml-toolbox[excel]"
173
+ ```
174
+
175
+ #### Modules:
176
+
177
+ ```bash
178
+ custom_logger
179
+ handle_excel
180
+ path_manager
181
+ ```
182
+
183
+ ### 🎰 GUI for Boosting Algorithms (XGBoost, LightGBM) [gui-boost]
184
+
185
+ For GUIs that include plotting functionality, you must also install the [plot] extra.
186
+
187
+ ```Bash
188
+ pip install "dragon-ml-toolbox[gui-boost]"
189
+ ```
190
+
191
+ ```Bash
192
+ pip install "dragon-ml-toolbox[gui-boost,plot]"
193
+ ```
194
+
195
+ #### Modules:
196
+
197
+ ```bash
198
+ GUI_tools
199
+ ensemble_inference
200
+ path_manager
201
+ ```
202
+
203
+ ### 🤖 GUI for PyTorch Models [gui-torch]
204
+
205
+ For GUIs that include plotting functionality, you must also install the [plot] extra.
206
+
207
+ ```Bash
208
+ pip install "dragon-ml-toolbox[gui-torch]"
209
+ ```
210
+
211
+ ```Bash
212
+ pip install "dragon-ml-toolbox[gui-torch,plot]"
213
+ ```
214
+
215
+ #### Modules:
216
+
217
+ ```bash
218
+ GUI_tools
219
+ ML_inference
220
+ path_manager
221
+ ```
222
+
223
+ ## Usage
224
+
225
+ After installation, import modules like this:
226
+
227
+ ```python
228
+ from ml_tools.utilities import serialize_object, deserialize_object
229
+ from ml_tools.custom_logger import custom_logger
230
+ ```
@@ -12,18 +12,21 @@ ml_tools/GUI_tools.py
12
12
  ml_tools/MICE_imputation.py
13
13
  ml_tools/ML_callbacks.py
14
14
  ml_tools/ML_evaluation.py
15
+ ml_tools/ML_inference.py
15
16
  ml_tools/ML_trainer.py
16
- ml_tools/ML_tutorial.py
17
17
  ml_tools/PSO_optimization.py
18
18
  ml_tools/RNN_forecast.py
19
19
  ml_tools/VIF_factor.py
20
20
  ml_tools/__init__.py
21
+ ml_tools/_logger.py
21
22
  ml_tools/_pytorch_models.py
23
+ ml_tools/_script_info.py
24
+ ml_tools/custom_logger.py
22
25
  ml_tools/data_exploration.py
23
26
  ml_tools/datasetmaster.py
27
+ ml_tools/ensemble_inference.py
24
28
  ml_tools/ensemble_learning.py
25
29
  ml_tools/handle_excel.py
26
30
  ml_tools/keys.py
27
- ml_tools/logger.py
28
31
  ml_tools/path_manager.py
29
32
  ml_tools/utilities.py
@@ -1,28 +1,61 @@
1
- numpy<2.0
1
+
2
+ [ML]
3
+ numpy
4
+ pandas
5
+ polars
6
+ joblib
2
7
  scikit-learn
3
- openpyxl
4
- miceforest>=6.0.0
5
- plotnine>=0.12
6
8
  matplotlib
7
9
  seaborn
8
- pandas
9
- polars
10
10
  imbalanced-learn
11
- statsmodels
12
11
  ipython
13
12
  ipykernel
14
13
  notebook
15
14
  jupyterlab
16
15
  ipywidgets
17
- joblib
18
16
  xgboost
19
- lightgbm<=4.5.0
17
+ lightgbm
20
18
  shap
21
- tqdm>=4.0
19
+ tqdm
22
20
  Pillow
23
21
 
24
- [gui]
22
+ [excel]
23
+ pandas
24
+ openpyxl
25
+ ipython
26
+ ipykernel
27
+ notebook
28
+ jupyterlab
29
+ ipywidgets
30
+
31
+ [gui-boost]
32
+ numpy
33
+ joblib
34
+ FreeSimpleGUI>=5.2
35
+ pyinstaller
36
+ xgboost
37
+ lightgbm
38
+
39
+ [gui-torch]
40
+ numpy
25
41
  FreeSimpleGUI>=5.2
42
+ pyinstaller
43
+
44
+ [mice]
45
+ numpy<2.0
46
+ pandas
47
+ polars
48
+ joblib
49
+ miceforest>=6.0.0
50
+ plotnine>=0.12
51
+ matplotlib
52
+ statsmodels
53
+ lightgbm<=4.5.0
54
+ shap
55
+
56
+ [plot]
57
+ matplotlib
58
+ seaborn
26
59
 
27
60
  [pytorch]
28
61
  torch