ilovetools 0.1.9__tar.gz → 0.2.1__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.
Files changed (43) hide show
  1. {ilovetools-0.1.9/ilovetools.egg-info → ilovetools-0.2.1}/PKG-INFO +1 -1
  2. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/__init__.py +1 -1
  3. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ml/__init__.py +122 -0
  4. ilovetools-0.2.1/ilovetools/ml/dimensionality.py +1001 -0
  5. ilovetools-0.2.1/ilovetools/ml/imbalanced.py +797 -0
  6. {ilovetools-0.1.9 → ilovetools-0.2.1/ilovetools.egg-info}/PKG-INFO +1 -1
  7. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools.egg-info/SOURCES.txt +2 -0
  8. {ilovetools-0.1.9 → ilovetools-0.2.1}/pyproject.toml +1 -1
  9. {ilovetools-0.1.9 → ilovetools-0.2.1}/setup.py +1 -1
  10. {ilovetools-0.1.9 → ilovetools-0.2.1}/LICENSE +0 -0
  11. {ilovetools-0.1.9 → ilovetools-0.2.1}/MANIFEST.in +0 -0
  12. {ilovetools-0.1.9 → ilovetools-0.2.1}/README.md +0 -0
  13. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ai/__init__.py +0 -0
  14. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ai/embeddings.py +0 -0
  15. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ai/inference.py +0 -0
  16. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ai/llm_helpers.py +0 -0
  17. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/audio/__init__.py +0 -0
  18. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/automation/__init__.py +0 -0
  19. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/conversion/__init__.py +0 -0
  20. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/data/__init__.py +0 -0
  21. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/data/feature_engineering.py +0 -0
  22. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/data/preprocessing.py +0 -0
  23. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/database/__init__.py +0 -0
  24. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/datetime/__init__.py +0 -0
  25. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/files/__init__.py +0 -0
  26. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/image/__init__.py +0 -0
  27. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ml/cross_validation.py +0 -0
  28. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ml/ensemble.py +0 -0
  29. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ml/feature_selection.py +0 -0
  30. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ml/interpretation.py +0 -0
  31. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ml/metrics.py +0 -0
  32. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ml/pipeline.py +0 -0
  33. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/ml/tuning.py +0 -0
  34. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/security/__init__.py +0 -0
  35. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/text/__init__.py +0 -0
  36. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/utils/__init__.py +0 -0
  37. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/validation/__init__.py +0 -0
  38. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools/web/__init__.py +0 -0
  39. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools.egg-info/dependency_links.txt +0 -0
  40. {ilovetools-0.1.9 → ilovetools-0.2.1}/ilovetools.egg-info/top_level.txt +0 -0
  41. {ilovetools-0.1.9 → ilovetools-0.2.1}/requirements.txt +0 -0
  42. {ilovetools-0.1.9 → ilovetools-0.2.1}/setup.cfg +0 -0
  43. {ilovetools-0.1.9 → ilovetools-0.2.1}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ilovetools
3
- Version: 0.1.9
3
+ Version: 0.2.1
4
4
  Summary: A comprehensive Python utility library with modular tools for AI/ML, data processing, and daily programming needs
5
5
  Home-page: https://github.com/AliMehdi512/ilovetools
6
6
  Author: Ali Mehdi
@@ -2,7 +2,7 @@
2
2
  ilovetools - A comprehensive Python utility library
3
3
  """
4
4
 
5
- __version__ = "0.1.9"
5
+ __version__ = "0.2.1"
6
6
  __author__ = "Ali Mehdi"
7
7
  __email__ = "ali.mehdi.dev579@gmail.com"
8
8
 
@@ -183,6 +183,70 @@ from .pipeline import (
183
183
  pipe_summary,
184
184
  )
185
185
 
186
+ from .imbalanced import (
187
+ # Full names
188
+ random_oversampling,
189
+ random_undersampling,
190
+ smote_oversampling,
191
+ tomek_links_undersampling,
192
+ class_weight_calculator,
193
+ stratified_sampling,
194
+ compute_class_distribution,
195
+ balance_dataset,
196
+ minority_class_identifier,
197
+ imbalance_ratio,
198
+ synthetic_sample_generator,
199
+ near_miss_undersampling,
200
+ # Abbreviated aliases
201
+ random_oversample,
202
+ random_undersample,
203
+ smote,
204
+ tomek_links,
205
+ class_weights,
206
+ stratified_sample,
207
+ class_dist,
208
+ balance_data,
209
+ minority_class,
210
+ imbalance_ratio_alias,
211
+ synthetic_sample,
212
+ near_miss,
213
+ )
214
+
215
+ from .dimensionality import (
216
+ # Full names
217
+ pca_transform,
218
+ explained_variance_ratio,
219
+ scree_plot_data,
220
+ cumulative_variance,
221
+ pca_inverse_transform,
222
+ truncated_svd,
223
+ kernel_pca_transform,
224
+ incremental_pca_transform,
225
+ feature_projection,
226
+ dimensionality_reduction_ratio,
227
+ reconstruction_error,
228
+ optimal_components,
229
+ whitening_transform,
230
+ component_loadings,
231
+ biplot_data,
232
+ # Abbreviated aliases
233
+ pca,
234
+ exp_var,
235
+ scree_plot,
236
+ cum_var,
237
+ pca_inverse,
238
+ svd,
239
+ kpca,
240
+ ipca,
241
+ project,
242
+ dim_ratio,
243
+ recon_error,
244
+ opt_components,
245
+ whiten,
246
+ loadings,
247
+ biplot,
248
+ )
249
+
186
250
  __all__ = [
187
251
  # Metrics (full names)
188
252
  'accuracy_score',
@@ -344,4 +408,62 @@ __all__ = [
344
408
  'set_params',
345
409
  'clone_pipe',
346
410
  'pipe_summary',
411
+ # Imbalanced (full names)
412
+ 'random_oversampling',
413
+ 'random_undersampling',
414
+ 'smote_oversampling',
415
+ 'tomek_links_undersampling',
416
+ 'class_weight_calculator',
417
+ 'stratified_sampling',
418
+ 'compute_class_distribution',
419
+ 'balance_dataset',
420
+ 'minority_class_identifier',
421
+ 'imbalance_ratio',
422
+ 'synthetic_sample_generator',
423
+ 'near_miss_undersampling',
424
+ # Imbalanced (aliases)
425
+ 'random_oversample',
426
+ 'random_undersample',
427
+ 'smote',
428
+ 'tomek_links',
429
+ 'class_weights',
430
+ 'stratified_sample',
431
+ 'class_dist',
432
+ 'balance_data',
433
+ 'minority_class',
434
+ 'imbalance_ratio_alias',
435
+ 'synthetic_sample',
436
+ 'near_miss',
437
+ # Dimensionality (full names)
438
+ 'pca_transform',
439
+ 'explained_variance_ratio',
440
+ 'scree_plot_data',
441
+ 'cumulative_variance',
442
+ 'pca_inverse_transform',
443
+ 'truncated_svd',
444
+ 'kernel_pca_transform',
445
+ 'incremental_pca_transform',
446
+ 'feature_projection',
447
+ 'dimensionality_reduction_ratio',
448
+ 'reconstruction_error',
449
+ 'optimal_components',
450
+ 'whitening_transform',
451
+ 'component_loadings',
452
+ 'biplot_data',
453
+ # Dimensionality (aliases)
454
+ 'pca',
455
+ 'exp_var',
456
+ 'scree_plot',
457
+ 'cum_var',
458
+ 'pca_inverse',
459
+ 'svd',
460
+ 'kpca',
461
+ 'ipca',
462
+ 'project',
463
+ 'dim_ratio',
464
+ 'recon_error',
465
+ 'opt_components',
466
+ 'whiten',
467
+ 'loadings',
468
+ 'biplot',
347
469
  ]