ilovetools 0.1.4__py3-none-any.whl → 0.1.5__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.
ilovetools/__init__.py CHANGED
@@ -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
 
ilovetools/ml/__init__.py CHANGED
@@ -1,5 +1,6 @@
1
1
  """
2
2
  Machine Learning utilities module
3
+ All functions have dual names: full descriptive name + abbreviated alias
3
4
  """
4
5
 
5
6
  from .metrics import (
@@ -13,10 +14,61 @@ from .metrics import (
13
14
  mean_absolute_error,
14
15
  root_mean_squared_error,
15
16
  r2_score,
16
- roc_auc_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,
17
68
  )
18
69
 
19
70
  __all__ = [
71
+ # Metrics (full names)
20
72
  'accuracy_score',
21
73
  'precision_score',
22
74
  'recall_score',
@@ -28,4 +80,48 @@ __all__ = [
28
80
  'root_mean_squared_error',
29
81
  'r2_score',
30
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',
31
127
  ]