dragon-ml-toolbox 1.1.5__py3-none-any.whl → 1.2.0__py3-none-any.whl

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.

@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dragon-ml-toolbox
3
- Version: 1.1.5
4
- Summary: A collection of tools for machine learning projects
3
+ Version: 1.2.0
4
+ Summary: A collection of tools for data science and machine learning projects
5
5
  Author-email: Karl Loza <luigiloza@gmail.com>
6
- License: MIT
6
+ License-Expression: MIT
7
7
  Project-URL: Homepage, https://github.com/DrAg0n-BoRn/ML_tools
8
8
  Project-URL: Changelog, https://github.com/DrAg0n-BoRn/ML_tools/blob/master/CHANGELOG.md
9
9
  Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: OSI Approved :: MIT License
11
10
  Classifier: Operating System :: OS Independent
12
11
  Requires-Python: >=3.9
13
12
  Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
14
  Requires-Dist: numpy
15
15
  Requires-Dist: pandas
16
16
  Requires-Dist: matplotlib
@@ -70,6 +70,26 @@ Provides-Extra: vision-helpers
70
70
  Requires-Dist: Pillow; extra == "vision-helpers"
71
71
  Requires-Dist: torch; extra == "vision-helpers"
72
72
  Requires-Dist: torchvision; extra == "vision-helpers"
73
+ Provides-Extra: full
74
+ Requires-Dist: pandas; extra == "full"
75
+ Requires-Dist: numpy; extra == "full"
76
+ Requires-Dist: matplotlib; extra == "full"
77
+ Requires-Dist: seaborn; extra == "full"
78
+ Requires-Dist: statsmodels; extra == "full"
79
+ Requires-Dist: ipython; extra == "full"
80
+ Requires-Dist: torch; extra == "full"
81
+ Requires-Dist: scikit-learn; extra == "full"
82
+ Requires-Dist: imblearn; extra == "full"
83
+ Requires-Dist: Pillow; extra == "full"
84
+ Requires-Dist: joblib; extra == "full"
85
+ Requires-Dist: xgboost; extra == "full"
86
+ Requires-Dist: lightgbm; extra == "full"
87
+ Requires-Dist: shap; extra == "full"
88
+ Requires-Dist: openpyxl; extra == "full"
89
+ Requires-Dist: miceforest; extra == "full"
90
+ Requires-Dist: polars; extra == "full"
91
+ Requires-Dist: torchvision; extra == "full"
92
+ Dynamic: license-file
73
93
 
74
94
  # dragon-ml-tools
75
95
 
@@ -84,22 +104,30 @@ A collection of Python utilities and machine learning tools, structured as a mod
84
104
 
85
105
  ## Installation
86
106
 
87
- ### Via GitHub (Editable / Development Mode)
107
+ Python 3.9+ recommended.
88
108
 
89
- Clone the repository and install in editable mode with optional dependencies:
109
+ ### Via PyPI (Stable Releases)
110
+
111
+ Install the latest stable release from PyPI with optional dependencies:
90
112
 
91
113
  ```bash
92
- git clone https://github.com/DrAg0n-BoRn/ML_tools.git
93
- cd ML_tools
94
- pip install -e '.[logger]'
114
+ pip install dragon-ml-tools[logger,trainer]
95
115
  ```
96
116
 
97
- ### Via PyPI (Stable Releases)
117
+ To install dependencies from all modules
98
118
 
99
- Install the latest stable release from PyPI with optional dependencies:
119
+ ```bash
120
+ pip install dragon-ml-tools[full]
121
+ ```
122
+
123
+ ### Via GitHub (Editable)
124
+
125
+ Clone the repository and install in editable mode with optional dependencies:
100
126
 
101
127
  ```bash
102
- pip install dragon-ml-tools[logger,trainer]
128
+ git clone https://github.com/DrAg0n-BoRn/ML_tools.git
129
+ cd ML_tools
130
+ pip install -e '.[logger]'
103
131
  ```
104
132
 
105
133
  ## Usage
@@ -110,14 +138,3 @@ After installation, import modules like this:
110
138
  from ml_tools.utilities import sanitize_filename
111
139
  from ml_tools.logger import custom_logger
112
140
  ```
113
-
114
- ## Development
115
-
116
- Python 3.9+ recommended.
117
-
118
- To install all dependencies including development tools:
119
-
120
- ```python
121
- pip install -e '.[dev]'
122
- ```
123
-
@@ -1,16 +1,17 @@
1
- ml_tools/MICE_imputation.py,sha256=wLM4DJTs-CxuGzEmuTj7Tmb7AoKGs16cdxQD2Ne8Dv0,7340
1
+ dragon_ml_toolbox-1.2.0.dist-info/licenses/LICENSE,sha256=2uUFNy7D0TLgHim1K5s3DIJ4q_KvxEXVilnU20cWliY,1066
2
+ ml_tools/MICE_imputation.py,sha256=Xvupj6w4NJ7d8gcJbpp1y3LVVnWEfvx-It7oEksuT5I,7349
2
3
  ml_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- ml_tools/data_exploration.py,sha256=Nx8V6xYmh2XqMF3WXg0BdAQnDAFq5cFd36JHFIf56vc,26989
4
+ ml_tools/data_exploration.py,sha256=AMQ5XLrRhV6dLhptjl2Jppgk9JJ06ZjXEuvqkjC3gt0,26998
4
5
  ml_tools/datasetmaster.py,sha256=VUneKshnmjOGbtqVVGTFcIMRKF3s6ZDYrosIYKDjD80,28956
5
6
  ml_tools/ensemble_learning.py,sha256=uA7A94CLv8o2l125oTEi0cjHusZkB-7Mnrtn7SGTfjs,29714
6
7
  ml_tools/handle_excel.py,sha256=IR0VQc3hYdmjwC31E5YxDnRcWig4jSIx7Y_7to-KZz4,11969
7
- ml_tools/logger.py,sha256=yQ5v8e2UnkKgQDszpg5zihpLPI8ehEci7p_2PKkshls,4613
8
+ ml_tools/logger.py,sha256=XwSpCUzw2Le24fJHyljBxNLgw63SwjZ0pMjTJqf0ylI,4622
8
9
  ml_tools/particle_swarm_optimization.py,sha256=jpkje4OETC9fyISxxUTx4XGrImSU6gDEcwz46ZDs2bQ,19250
9
10
  ml_tools/pytorch_models.py,sha256=Oykw02sOZLCjvSadQd64UGesBN7kq0x1EGXHusvYiQI,9908
10
11
  ml_tools/trainer.py,sha256=Zd7AaHeoNd8dEas2JChWoHaCUpWUVRDUMybuHaKJ0XY,16740
11
12
  ml_tools/utilities.py,sha256=mG_--EFplfI9H7OhrWI8VkdNJtTbs4Wbz32xvcFWps8,5518
12
13
  ml_tools/vision_helpers.py,sha256=lBAW6dzAK-HOswAt1fU_tfP9hkNLY5D8c_I_7hhEXno,7528
13
- dragon_ml_toolbox-1.1.5.dist-info/METADATA,sha256=_K_7q_JFPYp59j5oTjGzaAyZ06V8mV3W619N9w7GcKs,4399
14
- dragon_ml_toolbox-1.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- dragon_ml_toolbox-1.1.5.dist-info/top_level.txt,sha256=wm-oxax3ciyez6VoO4zsFd-gSok2VipYXnbg3TH9PtU,9
16
- dragon_ml_toolbox-1.1.5.dist-info/RECORD,,
14
+ dragon_ml_toolbox-1.2.0.dist-info/METADATA,sha256=LmlbpETQETUcZuGatEtnP6JttrkN7kVObxjzvl5INfk,5128
15
+ dragon_ml_toolbox-1.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ dragon_ml_toolbox-1.2.0.dist-info/top_level.txt,sha256=wm-oxax3ciyez6VoO4zsFd-gSok2VipYXnbg3TH9PtU,9
17
+ dragon_ml_toolbox-1.2.0.dist-info/RECORD,,
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Karl Loza
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.
@@ -3,7 +3,7 @@ import miceforest as mf
3
3
  import os
4
4
  import matplotlib.pyplot as plt
5
5
  import numpy as np
6
- from utilities import load_dataframe, list_csv_paths
6
+ from ml_tools.utilities import load_dataframe, list_csv_paths
7
7
 
8
8
 
9
9
  def apply_mice(df: pd.DataFrame, df_name: str, resulting_datasets: int=1, iterations: int=20, random_state: int=101):
@@ -11,7 +11,7 @@ from typing import Union, Literal, Dict, Tuple, Optional
11
11
  import os
12
12
  import sys
13
13
  import textwrap
14
- from utilities import sanitize_filename
14
+ from ml_tools.utilities import sanitize_filename
15
15
 
16
16
 
17
17
  # Keep track of all available functions, show using `info()`
ml_tools/logger.py CHANGED
@@ -5,7 +5,7 @@ import pandas as pd
5
5
  from openpyxl.styles import Font, PatternFill
6
6
  import traceback
7
7
  import json
8
- from utilities import sanitize_filename
8
+ from ml_tools.utilities import sanitize_filename
9
9
 
10
10
 
11
11
  def custom_logger(