ilovetools 0.1.4__tar.gz → 0.1.5__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 (38) hide show
  1. {ilovetools-0.1.4/ilovetools.egg-info → ilovetools-0.1.5}/PKG-INFO +1 -1
  2. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/__init__.py +1 -1
  3. ilovetools-0.1.5/ilovetools/ml/__init__.py +127 -0
  4. ilovetools-0.1.5/ilovetools/ml/cross_validation.py +612 -0
  5. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/ml/metrics.py +43 -31
  6. ilovetools-0.1.5/ilovetools/ml/tuning.py +781 -0
  7. {ilovetools-0.1.4 → ilovetools-0.1.5/ilovetools.egg-info}/PKG-INFO +1 -1
  8. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools.egg-info/SOURCES.txt +2 -0
  9. {ilovetools-0.1.4 → ilovetools-0.1.5}/pyproject.toml +1 -1
  10. {ilovetools-0.1.4 → ilovetools-0.1.5}/setup.py +1 -1
  11. ilovetools-0.1.4/ilovetools/ml/__init__.py +0 -31
  12. {ilovetools-0.1.4 → ilovetools-0.1.5}/LICENSE +0 -0
  13. {ilovetools-0.1.4 → ilovetools-0.1.5}/MANIFEST.in +0 -0
  14. {ilovetools-0.1.4 → ilovetools-0.1.5}/README.md +0 -0
  15. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/ai/__init__.py +0 -0
  16. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/ai/embeddings.py +0 -0
  17. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/ai/inference.py +0 -0
  18. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/ai/llm_helpers.py +0 -0
  19. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/audio/__init__.py +0 -0
  20. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/automation/__init__.py +0 -0
  21. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/conversion/__init__.py +0 -0
  22. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/data/__init__.py +0 -0
  23. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/data/feature_engineering.py +0 -0
  24. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/data/preprocessing.py +0 -0
  25. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/database/__init__.py +0 -0
  26. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/datetime/__init__.py +0 -0
  27. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/files/__init__.py +0 -0
  28. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/image/__init__.py +0 -0
  29. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/security/__init__.py +0 -0
  30. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/text/__init__.py +0 -0
  31. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/utils/__init__.py +0 -0
  32. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/validation/__init__.py +0 -0
  33. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools/web/__init__.py +0 -0
  34. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools.egg-info/dependency_links.txt +0 -0
  35. {ilovetools-0.1.4 → ilovetools-0.1.5}/ilovetools.egg-info/top_level.txt +0 -0
  36. {ilovetools-0.1.4 → ilovetools-0.1.5}/requirements.txt +0 -0
  37. {ilovetools-0.1.4 → ilovetools-0.1.5}/setup.cfg +0 -0
  38. {ilovetools-0.1.4 → ilovetools-0.1.5}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ilovetools
3
- Version: 0.1.4
3
+ Version: 0.1.5
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.4"
5
+ __version__ = "0.1.5"
6
6
  __author__ = "Ali Mehdi"
7
7
  __email__ = "ali.mehdi.dev579@gmail.com"
8
8
 
@@ -0,0 +1,127 @@
1
+ """
2
+ Machine Learning utilities module
3
+ All functions have dual names: full descriptive name + abbreviated alias
4
+ """
5
+
6
+ from .metrics import (
7
+ accuracy_score,
8
+ precision_score,
9
+ recall_score,
10
+ f1_score,
11
+ confusion_matrix,
12
+ classification_report,
13
+ mean_squared_error,
14
+ mean_absolute_error,
15
+ root_mean_squared_error,
16
+ r2_score,
17
+ roc_auc_score,
18
+ # Aliases
19
+ mae,
20
+ mse,
21
+ rmse,
22
+ )
23
+
24
+ from .cross_validation import (
25
+ # Full names
26
+ k_fold_cross_validation,
27
+ stratified_k_fold,
28
+ time_series_split,
29
+ leave_one_out_cv,
30
+ shuffle_split_cv,
31
+ cross_validate_score,
32
+ holdout_validation_split,
33
+ train_val_test_split,
34
+ # Abbreviated aliases
35
+ kfold,
36
+ skfold,
37
+ tssplit,
38
+ loocv,
39
+ shuffle_cv,
40
+ cv_score,
41
+ holdout,
42
+ tvt_split,
43
+ )
44
+
45
+ from .tuning import (
46
+ # Full names
47
+ grid_search_cv,
48
+ random_search_cv,
49
+ generate_param_grid,
50
+ extract_best_params,
51
+ format_cv_results,
52
+ learning_curve_data,
53
+ validation_curve_data,
54
+ early_stopping_monitor,
55
+ compare_models_cv,
56
+ bayesian_search_simple,
57
+ # Abbreviated aliases
58
+ gridsearch,
59
+ randomsearch,
60
+ param_grid,
61
+ best_params,
62
+ cv_results,
63
+ learning_curve,
64
+ val_curve,
65
+ early_stop,
66
+ compare_models,
67
+ bayesopt,
68
+ )
69
+
70
+ __all__ = [
71
+ # Metrics (full names)
72
+ 'accuracy_score',
73
+ 'precision_score',
74
+ 'recall_score',
75
+ 'f1_score',
76
+ 'confusion_matrix',
77
+ 'classification_report',
78
+ 'mean_squared_error',
79
+ 'mean_absolute_error',
80
+ 'root_mean_squared_error',
81
+ 'r2_score',
82
+ 'roc_auc_score',
83
+ # Metrics (aliases)
84
+ 'mae',
85
+ 'mse',
86
+ 'rmse',
87
+ # Cross-validation (full names)
88
+ 'k_fold_cross_validation',
89
+ 'stratified_k_fold',
90
+ 'time_series_split',
91
+ 'leave_one_out_cv',
92
+ 'shuffle_split_cv',
93
+ 'cross_validate_score',
94
+ 'holdout_validation_split',
95
+ 'train_val_test_split',
96
+ # Cross-validation (aliases)
97
+ 'kfold',
98
+ 'skfold',
99
+ 'tssplit',
100
+ 'loocv',
101
+ 'shuffle_cv',
102
+ 'cv_score',
103
+ 'holdout',
104
+ 'tvt_split',
105
+ # Tuning (full names)
106
+ 'grid_search_cv',
107
+ 'random_search_cv',
108
+ 'generate_param_grid',
109
+ 'extract_best_params',
110
+ 'format_cv_results',
111
+ 'learning_curve_data',
112
+ 'validation_curve_data',
113
+ 'early_stopping_monitor',
114
+ 'compare_models_cv',
115
+ 'bayesian_search_simple',
116
+ # Tuning (aliases)
117
+ 'gridsearch',
118
+ 'randomsearch',
119
+ 'param_grid',
120
+ 'best_params',
121
+ 'cv_results',
122
+ 'learning_curve',
123
+ 'val_curve',
124
+ 'early_stop',
125
+ 'compare_models',
126
+ 'bayesopt',
127
+ ]