InsurAutoML 0.2.7b0__tar.gz → 0.2.8__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 (106) hide show
  1. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/__init__.py +267 -262
  2. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/balancing/__init__.py +80 -80
  3. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/balancing/base.py +61 -61
  4. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/balancing/mixed_sampling.py +215 -215
  5. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/balancing/over_sampling.py +284 -284
  6. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/balancing/under_sampling.py +705 -705
  7. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/base.py +270 -269
  8. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/constant.py +290 -285
  9. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/datasets/__init__.py +151 -151
  10. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/datasets/image.py +96 -96
  11. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/datasets/tabular.py +1798 -2338
  12. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/datasets/text.py +137 -137
  13. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/encoding/__init__.py +49 -45
  14. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/encoding/base.py +71 -55
  15. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/encoding/encoding.py +276 -276
  16. insurautoml-0.2.8/InsurAutoML/ext/__init__.py +42 -0
  17. insurautoml-0.2.8/InsurAutoML/ext/suppsplit/__init__.py +41 -0
  18. InsurAutoML-0.2.7b0/InsurAutoML/hyperparameters/_hyperopt/_encoder_hyperparameter.py → insurautoml-0.2.8/InsurAutoML/ext/suppsplit/suppsplit/__init__.py +42 -42
  19. insurautoml-0.2.8/InsurAutoML/ext/suppsplit/suppsplit/split.py +154 -0
  20. insurautoml-0.2.8/InsurAutoML/ext/suppsplit/suppsplit/utils.py +105 -0
  21. insurautoml-0.2.8/InsurAutoML/ext/suppsplit/suppsplit_cpp/bindings.cpp +146 -0
  22. insurautoml-0.2.8/InsurAutoML/ext/suppsplit/suppsplit_cpp/sPlit.cpp +140 -0
  23. insurautoml-0.2.8/InsurAutoML/ext/suppsplit/suppsplit_cpp/sp.cpp +246 -0
  24. insurautoml-0.2.8/InsurAutoML/ext/twinreduction/__init__.py +41 -0
  25. insurautoml-0.2.8/InsurAutoML/ext/twinreduction/twinning_cpp/bindings.cpp +101 -0
  26. insurautoml-0.2.8/InsurAutoML/ext/twinreduction/twinning_cpp/twinning.cpp +163 -0
  27. insurautoml-0.2.8/InsurAutoML/ext/twinreduction/twinreduction/__init__.py +42 -0
  28. insurautoml-0.2.8/InsurAutoML/ext/twinreduction/twinreduction/twinreduction.py +131 -0
  29. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/feature_selection/__init__.py +187 -184
  30. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/feature_selection/autosklearn.py +0 -0
  31. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/feature_selection/base.py +76 -76
  32. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/feature_selection/embed.py +422 -422
  33. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/feature_selection/filter.py +457 -315
  34. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/feature_selection/hybrid.py +823 -823
  35. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/feature_selection/sklearn.py +905 -905
  36. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/feature_selection/wrapper.py +573 -576
  37. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/hpo/DL.py +85 -85
  38. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/hpo/ML.py +842 -841
  39. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/hpo/__init__.py +60 -53
  40. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/hpo/base.py +2094 -2049
  41. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/hpo/ensemble.py +486 -492
  42. insurautoml-0.2.8/InsurAutoML/hpo/informed/ML.py +403 -0
  43. insurautoml-0.2.8/InsurAutoML/hpo/informed/__init__.py +45 -0
  44. insurautoml-0.2.8/InsurAutoML/hpo/informed/base.py +1445 -0
  45. insurautoml-0.2.8/InsurAutoML/hpo/informed/fixed.py +177 -0
  46. insurautoml-0.2.8/InsurAutoML/hpo/informed/informed_ensemble.py +472 -0
  47. insurautoml-0.2.8/InsurAutoML/hpo/informed/utils.py +472 -0
  48. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/hpo/utils.py +556 -555
  49. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/hyperparameters/__init__.py +145 -139
  50. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/imputation/__init__.py +83 -82
  51. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/imputation/base.py +292 -267
  52. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/imputation/clustering.py +1113 -1113
  53. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/imputation/multiple.py +643 -549
  54. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/imputation/nn.py +782 -782
  55. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/FNN.py +520 -520
  56. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/ML.py +39 -39
  57. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/RNN.py +632 -632
  58. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/__init__.py +331 -320
  59. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/autosklearn.py +1552 -1552
  60. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/base.py +142 -142
  61. insurautoml-0.2.8/InsurAutoML/model/catboost.py +112 -0
  62. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/clustering.py +69 -69
  63. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/gam.py +139 -139
  64. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/lightgbm.py +451 -451
  65. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/sklearn_classifiers.py +1356 -1356
  66. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/sklearn_regressors.py +1275 -1275
  67. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/model/xgboost.py +288 -288
  68. insurautoml-0.2.8/InsurAutoML/prep/__init__.py +41 -0
  69. insurautoml-0.2.8/InsurAutoML/prep/pipeline.py +325 -0
  70. insurautoml-0.2.8/InsurAutoML/prep/prep.py +41 -0
  71. insurautoml-0.2.8/InsurAutoML/prep/utils.py +162 -0
  72. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/scaling/__init__.py +77 -77
  73. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/scaling/base.py +37 -37
  74. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/scaling/scaling.py +868 -868
  75. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/__init__.py +82 -81
  76. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/_c/__init__.py +53 -53
  77. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/_c/_base.pyx +154 -154
  78. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/_c/_stat.pyx +41 -41
  79. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/base.py +374 -374
  80. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/data.py +859 -860
  81. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/eda.py +218 -218
  82. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/file.py +118 -118
  83. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/metadata.py +436 -433
  84. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/optimize.py +2484 -1832
  85. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/stats.py +753 -509
  86. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/utils/tensor.py +263 -263
  87. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML/version.py +52 -52
  88. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8/InsurAutoML.egg-info}/PKG-INFO +342 -250
  89. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML.egg-info/SOURCES.txt +26 -9
  90. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML.egg-info/not-zip-safe +1 -1
  91. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML.egg-info/requires.txt +13 -0
  92. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/LICENSE +21 -21
  93. InsurAutoML-0.2.7b0/README.md → insurautoml-0.2.8/PKG-INFO +342 -230
  94. InsurAutoML-0.2.7b0/InsurAutoML.egg-info/PKG-INFO → insurautoml-0.2.8/README.md +36 -27
  95. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/setup.cfg +4 -4
  96. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/setup.py +603 -484
  97. insurautoml-0.2.8/tests/test_base.py +72 -0
  98. InsurAutoML-0.2.7b0/InsurAutoML/hyperparameters/_hyperopt/__init__.py +0 -47
  99. InsurAutoML-0.2.7b0/InsurAutoML/hyperparameters/_hyperopt/_balancing_hyperparameter.py +0 -105
  100. InsurAutoML-0.2.7b0/InsurAutoML/hyperparameters/_hyperopt/_classifier_hyperparameter.py +0 -269
  101. InsurAutoML-0.2.7b0/InsurAutoML/hyperparameters/_hyperopt/_feature_selection_hyperparameter.py +0 -272
  102. InsurAutoML-0.2.7b0/InsurAutoML/hyperparameters/_hyperopt/_imputer_hyperparameter.py +0 -74
  103. InsurAutoML-0.2.7b0/InsurAutoML/hyperparameters/_hyperopt/_regressor_hyperparameter.py +0 -282
  104. InsurAutoML-0.2.7b0/InsurAutoML/hyperparameters/_hyperopt/_scaling_hyperparameter.py +0 -55
  105. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML.egg-info/dependency_links.txt +0 -0
  106. {InsurAutoML-0.2.7b0 → insurautoml-0.2.8}/InsurAutoML.egg-info/top_level.txt +0 -0
@@ -1,262 +1,267 @@
1
- """
2
- File Name: __init__.py
3
- Author: Panyi Dong
4
- GitHub: https://github.com/PanyiDong/
5
- Mathematics Department, University of Illinois at Urbana-Champaign (UIUC)
6
-
7
- Project: InsurAutoML
8
- Latest Version: 0.2.5
9
- Relative Path: /InsurAutoML/__init__.py
10
- File Created: Wednesday, 16th November 2022 7:23:10 pm
11
- Author: Panyi Dong (panyid2@illinois.edu)
12
-
13
- -----
14
- Last Modified: Thursday, 25th May 2023 11:04:19 am
15
- Modified By: Panyi Dong (panyid2@illinois.edu)
16
-
17
- -----
18
- MIT License
19
-
20
- Copyright (c) 2022 - 2022, Panyi Dong
21
-
22
- Permission is hereby granted, free of charge, to any person obtaining a copy
23
- of this software and associated documentation files (the "Software"), to deal
24
- in the Software without restriction, including without limitation the rights
25
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
26
- copies of the Software, and to permit persons to whom the Software is
27
- furnished to do so, subject to the following conditions:
28
-
29
- The above copyright notice and this permission notice shall be included in all
30
- copies or substantial portions of the Software.
31
-
32
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
35
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
36
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
37
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
38
- SOFTWARE.
39
- """
40
-
41
-
42
- from .version import _get_version
43
- from .base import no_processing, load_data, set_seed
44
- from .hpo import (
45
- AutoTabular,
46
- AutoTabularClassifier,
47
- AutoTabularRegressor,
48
- # AutoTextClassifier,
49
- # AutoNextWordPrediction,
50
- )
51
- from .utils import (
52
- # random_guess,
53
- # random_index,
54
- # random_list,
55
- # is_date,
56
- # feature_rounding,
57
- train_test_split,
58
- # minloc,
59
- # maxloc,
60
- # True_index,
61
- # nan_cov,
62
- # class_means,
63
- # empirical_covariance,
64
- # class_cov,
65
- # Pearson_Corr,
66
- # MI,
67
- # t_score,
68
- # ANOVA,
69
- # as_dataframe,
70
- type_of_task,
71
- # formatting,
72
- # Timer,
73
- # unify_nan,
74
- # remove_index_columns,
75
- # get_missing_matrix,
76
- EDA,
77
- )
78
-
79
- __version__ = _get_version()
80
-
81
- # read version from file
82
-
83
-
84
- # from ._encoding import DataEncoding
85
-
86
- # from ._imputation import (
87
- # SimpleImputer,
88
- # DummyImputer,
89
- # JointImputer,
90
- # ExpectationMaximization,
91
- # KNNImputer,
92
- # MissForestImputer,
93
- # MICE,
94
- # GAIN,
95
- # AAI_kNN,
96
- # KMI,
97
- # CMI,
98
- # k_Prototype_NN,
99
- # )
100
-
101
- # from ._balancing import (
102
- # SimpleRandomOverSampling,
103
- # SimpleRandomUnderSampling,
104
- # TomekLink,
105
- # EditedNearestNeighbor,
106
- # CondensedNearestNeighbor,
107
- # OneSidedSelection,
108
- # CNN_TomekLink,
109
- # Smote,
110
- # Smote_TomekLink,
111
- # Smote_ENN,
112
- # )
113
-
114
- # from ._scaling import (
115
- # MinMaxScale,
116
- # Standardize,
117
- # Normalize,
118
- # RobustScale,
119
- # PowerTransformer,
120
- # QuantileTransformer,
121
- # Winsorization,
122
- # Feature_Manipulation,
123
- # Feature_Truncation,
124
- # )
125
-
126
- # from ._feature_selection import (
127
- # PCA_FeatureSelection,
128
- # LDASelection,
129
- # FeatureFilter,
130
- # RBFSampler,
131
- # ASFFS,
132
- # GeneticAlgorithm,
133
- # )
134
-
135
- # extracted from sklearn
136
- # not all used in the pipeline
137
- # from ._feature_selection import (
138
- # Densifier,
139
- # ExtraTreesPreprocessorClassification,
140
- # ExtraTreesPreprocessorRegression,
141
- # FastICA,
142
- # FeatureAgglomeration,
143
- # KernelPCA,
144
- # RandomKitchenSinks,
145
- # LibLinear_Preprocessor,
146
- # Nystroem,
147
- # PCA,
148
- # PolynomialFeatures,
149
- # RandomTreesEmbedding,
150
- # SelectPercentileClassification,
151
- # SelectPercentileRegression,
152
- # SelectClassificationRates,
153
- # SelectRegressionRates,
154
- # TruncatedSVD,
155
- # )
156
-
157
-
158
- # from ._model import classifiers, regressors
159
-
160
- # base = {"load_data": load_data}
161
-
162
- # encoders = {"DataEncoding": DataEncoding}
163
-
164
- # model_selection = {
165
- # "AutoTabular": AutoTabular,
166
- # "AutoTabularClassifier": AutoTabularClassifier,
167
- # "AutoTabularRegressor": AutoTabularRegressor,
168
- # "AutoTextClassifier": AutoTextClassifier,
169
- # "AutoNextWordPrediction": AutoNextWordPrediction,
170
- # }
171
-
172
- __all__ = [
173
- "load_data", # _base
174
- "no_processing",
175
- "random_guess", # _utils
176
- "random_index",
177
- "random_list",
178
- "is_date",
179
- "feature_rounding",
180
- "train_test_split",
181
- "minloc",
182
- "maxloc",
183
- "True_index",
184
- "nan_cov",
185
- "class_means",
186
- "empirical_covariance",
187
- "class_cov",
188
- "Pearson_Corr",
189
- "MI",
190
- "t_score",
191
- "ANOVA",
192
- "as_dataframe",
193
- "type_of_task",
194
- "formatting",
195
- "Timer",
196
- "unify_nan",
197
- "remove_index_columns",
198
- "get_missing_matrix",
199
- "SimpleImputer", # _missing
200
- "DummyImputer",
201
- "JointImputer",
202
- "ExpectationMaximization",
203
- "KNNImputer",
204
- "MissForestImputer",
205
- "MICE",
206
- "GAIN",
207
- "AAI_kNN",
208
- "KMI",
209
- "CMI",
210
- "k_Prototype_NN",
211
- "DataEncoding", # _encoding
212
- "MinMaxScale", # _scaling
213
- "Standardize",
214
- "Normalize",
215
- "RobustScale",
216
- "PowerTransformer",
217
- "QuantileTransformer",
218
- "Winsorization",
219
- "Feature_Manipulation",
220
- "Feature_Truncation",
221
- "SimpleRandomOverSampling", # _imbalance
222
- "SimpleRandomUnderSampling",
223
- "TomekLink",
224
- "EditedNearestNeighbor",
225
- "CondensedNearestNeighbor",
226
- "OneSidedSelection",
227
- "CNN_TomekLink",
228
- "Smote",
229
- "Smote_TomekLink",
230
- "Smote_ENN",
231
- "LDASelection", # _feature_selection
232
- "PCA_FeatureSelection",
233
- "RBFSampler",
234
- "FeatureFilter",
235
- "ASFFS",
236
- "GeneticAlgorithm",
237
- "densifier", # from sklearn
238
- "extra_trees_preproc_for_classification",
239
- "extra_trees_preproc_for_regression",
240
- "fast_ica",
241
- "feature_agglomeration",
242
- "kernel_pca",
243
- "kitchen_sinks",
244
- "liblinear_svc_preprocessor",
245
- "nystroem_sampler",
246
- "pca",
247
- "polynomial",
248
- "random_trees_embedding",
249
- # 'select_percentile',
250
- "select_percentile_classification",
251
- "select_percentile_regression",
252
- "select_rates_classification",
253
- "select_rates_regression",
254
- "truncatedSVD",
255
- "classifiers", # _model
256
- "regressors",
257
- "AutoTabular", # _model_selection
258
- "AutoTabularClassifier",
259
- "AutoTabularRegressor",
260
- "AutoTextClassifier",
261
- "AutoNextWordPrediction",
262
- ]
1
+ """
2
+ File Name: __init__.py
3
+ Author: Panyi Dong
4
+ GitHub: https://github.com/PanyiDong/
5
+ Mathematics Department, University of Illinois at Urbana-Champaign (UIUC)
6
+
7
+ Project: InsurAutoML
8
+ Latest Version: 0.2.6
9
+ Relative Path: /InsurAutoML/__init__.py
10
+ File Created: Wednesday, 16th November 2022 7:23:10 pm
11
+ Author: Panyi Dong (panyid2@illinois.edu)
12
+
13
+ -----
14
+ Last Modified: Thursday, 4th December 2025 1:14:46 pm
15
+ Modified By: Panyi Dong (panyid2@illinois.edu)
16
+
17
+ -----
18
+ MIT License
19
+
20
+ Copyright (c) 2022 - 2025, Panyi Dong
21
+
22
+ Permission is hereby granted, free of charge, to any person obtaining a copy
23
+ of this software and associated documentation files (the "Software"), to deal
24
+ in the Software without restriction, including without limitation the rights
25
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
26
+ copies of the Software, and to permit persons to whom the Software is
27
+ furnished to do so, subject to the following conditions:
28
+
29
+ The above copyright notice and this permission notice shall be included in all
30
+ copies or substantial portions of the Software.
31
+
32
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
35
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
36
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
37
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
38
+ SOFTWARE.
39
+ """
40
+
41
+ from .version import _get_version
42
+ from .base import no_processing, load_data, set_seed
43
+ from .hpo import (
44
+ AutoTabular,
45
+ AutoTabularClassifier,
46
+ AutoTabularRegressor,
47
+ InformedAutoTabular,
48
+ InformedAutoTabularRegressor,
49
+ InformedAutoTabularClassifier,
50
+ # AutoTextClassifier,
51
+ # AutoNextWordPrediction,
52
+ )
53
+ from .utils import (
54
+ # random_guess,
55
+ # random_index,
56
+ # random_list,
57
+ # is_date,
58
+ # feature_rounding,
59
+ train_test_split,
60
+ # minloc,
61
+ # maxloc,
62
+ # True_index,
63
+ # nan_cov,
64
+ # class_means,
65
+ # empirical_covariance,
66
+ # class_cov,
67
+ # Pearson_Corr,
68
+ # MI,
69
+ # t_score,
70
+ # ANOVA,
71
+ # as_dataframe,
72
+ type_of_task,
73
+ # formatting,
74
+ # Timer,
75
+ # unify_nan,
76
+ # remove_index_columns,
77
+ # get_missing_matrix,
78
+ EDA,
79
+ )
80
+
81
+ __version__ = _get_version()
82
+
83
+ # read version from file
84
+
85
+
86
+ # from ._encoding import DataEncoding
87
+
88
+ # from ._imputation import (
89
+ # SimpleImputer,
90
+ # DummyImputer,
91
+ # JointImputer,
92
+ # ExpectationMaximization,
93
+ # KNNImputer,
94
+ # MissForestImputer,
95
+ # MICE,
96
+ # GAIN,
97
+ # AAI_kNN,
98
+ # KMI,
99
+ # CMI,
100
+ # k_Prototype_NN,
101
+ # )
102
+
103
+ # from ._balancing import (
104
+ # SimpleRandomOverSampling,
105
+ # SimpleRandomUnderSampling,
106
+ # TomekLink,
107
+ # EditedNearestNeighbor,
108
+ # CondensedNearestNeighbor,
109
+ # OneSidedSelection,
110
+ # CNN_TomekLink,
111
+ # Smote,
112
+ # Smote_TomekLink,
113
+ # Smote_ENN,
114
+ # )
115
+
116
+ # from ._scaling import (
117
+ # MinMaxScale,
118
+ # Standardize,
119
+ # Normalize,
120
+ # RobustScale,
121
+ # PowerTransformer,
122
+ # QuantileTransformer,
123
+ # Winsorization,
124
+ # Feature_Manipulation,
125
+ # Feature_Truncation,
126
+ # )
127
+
128
+ # from ._feature_selection import (
129
+ # PCA_FeatureSelection,
130
+ # LDASelection,
131
+ # FeatureFilter,
132
+ # RBFSampler,
133
+ # ASFFS,
134
+ # GeneticAlgorithm,
135
+ # )
136
+
137
+ # extracted from sklearn
138
+ # not all used in the pipeline
139
+ # from ._feature_selection import (
140
+ # Densifier,
141
+ # ExtraTreesPreprocessorClassification,
142
+ # ExtraTreesPreprocessorRegression,
143
+ # FastICA,
144
+ # FeatureAgglomeration,
145
+ # KernelPCA,
146
+ # RandomKitchenSinks,
147
+ # LibLinear_Preprocessor,
148
+ # Nystroem,
149
+ # PCA,
150
+ # PolynomialFeatures,
151
+ # RandomTreesEmbedding,
152
+ # SelectPercentileClassification,
153
+ # SelectPercentileRegression,
154
+ # SelectClassificationRates,
155
+ # SelectRegressionRates,
156
+ # TruncatedSVD,
157
+ # )
158
+
159
+
160
+ # from ._model import classifiers, regressors
161
+
162
+ # base = {"load_data": load_data}
163
+
164
+ # encoders = {"DataEncoding": DataEncoding}
165
+
166
+ # model_selection = {
167
+ # "AutoTabular": AutoTabular,
168
+ # "AutoTabularClassifier": AutoTabularClassifier,
169
+ # "AutoTabularRegressor": AutoTabularRegressor,
170
+ # "AutoTextClassifier": AutoTextClassifier,
171
+ # "AutoNextWordPrediction": AutoNextWordPrediction,
172
+ # }
173
+
174
+ __all__ = [
175
+ "load_data", # _base
176
+ "no_processing",
177
+ "random_guess", # _utils
178
+ "random_index",
179
+ "random_list",
180
+ "is_date",
181
+ "feature_rounding",
182
+ "train_test_split",
183
+ "minloc",
184
+ "maxloc",
185
+ "True_index",
186
+ "nan_cov",
187
+ "class_means",
188
+ "empirical_covariance",
189
+ "class_cov",
190
+ "Pearson_Corr",
191
+ "MI",
192
+ "t_score",
193
+ "ANOVA",
194
+ "as_dataframe",
195
+ "type_of_task",
196
+ "formatting",
197
+ "Timer",
198
+ "unify_nan",
199
+ "remove_index_columns",
200
+ "get_missing_matrix",
201
+ "SimpleImputer", # _missing
202
+ "DummyImputer",
203
+ "JointImputer",
204
+ "ExpectationMaximization",
205
+ "KNNImputer",
206
+ "MissForestImputer",
207
+ "MICE",
208
+ "GAIN",
209
+ "AAI_kNN",
210
+ "KMI",
211
+ "CMI",
212
+ "k_Prototype_NN",
213
+ "DataEncoding", # _encoding
214
+ "MinMaxScale", # _scaling
215
+ "Standardize",
216
+ "Normalize",
217
+ "RobustScale",
218
+ "PowerTransformer",
219
+ "QuantileTransformer",
220
+ "Winsorization",
221
+ "Feature_Manipulation",
222
+ "Feature_Truncation",
223
+ "SimpleRandomOverSampling", # _imbalance
224
+ "SimpleRandomUnderSampling",
225
+ "TomekLink",
226
+ "EditedNearestNeighbor",
227
+ "CondensedNearestNeighbor",
228
+ "OneSidedSelection",
229
+ "CNN_TomekLink",
230
+ "Smote",
231
+ "Smote_TomekLink",
232
+ "Smote_ENN",
233
+ "LDASelection", # _feature_selection
234
+ "PCA_FeatureSelection",
235
+ "RBFSampler",
236
+ "FeatureFilter",
237
+ "ASFFS",
238
+ "GeneticAlgorithm",
239
+ "densifier", # from sklearn
240
+ "extra_trees_preproc_for_classification",
241
+ "extra_trees_preproc_for_regression",
242
+ "fast_ica",
243
+ "feature_agglomeration",
244
+ "kernel_pca",
245
+ "kitchen_sinks",
246
+ "liblinear_svc_preprocessor",
247
+ "nystroem_sampler",
248
+ "pca",
249
+ "polynomial",
250
+ "random_trees_embedding",
251
+ # 'select_percentile',
252
+ "select_percentile_classification",
253
+ "select_percentile_regression",
254
+ "select_rates_classification",
255
+ "select_rates_regression",
256
+ "truncatedSVD",
257
+ "classifiers", # _model
258
+ "regressors",
259
+ "AutoTabular", # _model_selection
260
+ "AutoTabularClassifier",
261
+ "AutoTabularRegressor",
262
+ "InformedAutoTabular",
263
+ "InformedAutoTabularRegressor",
264
+ "InformedAutoTabularClassifier",
265
+ "AutoTextClassifier",
266
+ "AutoNextWordPrediction",
267
+ ]