ilovetools 0.1.7__py3-none-any.whl → 0.1.9__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 +1 -1
- ilovetools/ml/__init__.py +110 -0
- ilovetools/ml/interpretation.py +915 -0
- ilovetools/ml/pipeline.py +711 -0
- {ilovetools-0.1.7.dist-info → ilovetools-0.1.9.dist-info}/METADATA +1 -1
- {ilovetools-0.1.7.dist-info → ilovetools-0.1.9.dist-info}/RECORD +9 -7
- {ilovetools-0.1.7.dist-info → ilovetools-0.1.9.dist-info}/WHEEL +0 -0
- {ilovetools-0.1.7.dist-info → ilovetools-0.1.9.dist-info}/licenses/LICENSE +0 -0
- {ilovetools-0.1.7.dist-info → ilovetools-0.1.9.dist-info}/top_level.txt +0 -0
ilovetools/__init__.py
CHANGED
ilovetools/ml/__init__.py
CHANGED
|
@@ -125,6 +125,64 @@ from .feature_selection import (
|
|
|
125
125
|
remove_corr,
|
|
126
126
|
)
|
|
127
127
|
|
|
128
|
+
from .interpretation import (
|
|
129
|
+
# Full names
|
|
130
|
+
feature_importance_scores,
|
|
131
|
+
permutation_importance,
|
|
132
|
+
partial_dependence,
|
|
133
|
+
shap_values_approximation,
|
|
134
|
+
lime_explanation,
|
|
135
|
+
decision_path_explanation,
|
|
136
|
+
model_coefficients_interpretation,
|
|
137
|
+
prediction_breakdown,
|
|
138
|
+
feature_contribution_analysis,
|
|
139
|
+
global_feature_importance,
|
|
140
|
+
local_feature_importance,
|
|
141
|
+
model_summary_statistics,
|
|
142
|
+
# Abbreviated aliases
|
|
143
|
+
feat_importance_scores,
|
|
144
|
+
perm_importance,
|
|
145
|
+
pdp,
|
|
146
|
+
shap_approx,
|
|
147
|
+
lime_explain,
|
|
148
|
+
decision_path,
|
|
149
|
+
coef_interpret,
|
|
150
|
+
pred_breakdown,
|
|
151
|
+
feat_contrib,
|
|
152
|
+
global_importance,
|
|
153
|
+
local_importance,
|
|
154
|
+
model_summary,
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
from .pipeline import (
|
|
158
|
+
# Full names
|
|
159
|
+
create_pipeline,
|
|
160
|
+
add_pipeline_step,
|
|
161
|
+
execute_pipeline,
|
|
162
|
+
validate_pipeline,
|
|
163
|
+
serialize_pipeline,
|
|
164
|
+
deserialize_pipeline,
|
|
165
|
+
pipeline_transform,
|
|
166
|
+
pipeline_fit_transform,
|
|
167
|
+
get_pipeline_params,
|
|
168
|
+
set_pipeline_params,
|
|
169
|
+
clone_pipeline,
|
|
170
|
+
pipeline_summary,
|
|
171
|
+
# Abbreviated aliases
|
|
172
|
+
create_pipe,
|
|
173
|
+
add_step,
|
|
174
|
+
execute_pipe,
|
|
175
|
+
validate_pipe,
|
|
176
|
+
serialize_pipe,
|
|
177
|
+
deserialize_pipe,
|
|
178
|
+
pipe_transform,
|
|
179
|
+
pipe_fit_transform,
|
|
180
|
+
get_params,
|
|
181
|
+
set_params,
|
|
182
|
+
clone_pipe,
|
|
183
|
+
pipe_summary,
|
|
184
|
+
)
|
|
185
|
+
|
|
128
186
|
__all__ = [
|
|
129
187
|
# Metrics (full names)
|
|
130
188
|
'accuracy_score',
|
|
@@ -234,4 +292,56 @@ __all__ = [
|
|
|
234
292
|
'univariate_select',
|
|
235
293
|
'select_k_best',
|
|
236
294
|
'remove_corr',
|
|
295
|
+
# Interpretation (full names)
|
|
296
|
+
'feature_importance_scores',
|
|
297
|
+
'permutation_importance',
|
|
298
|
+
'partial_dependence',
|
|
299
|
+
'shap_values_approximation',
|
|
300
|
+
'lime_explanation',
|
|
301
|
+
'decision_path_explanation',
|
|
302
|
+
'model_coefficients_interpretation',
|
|
303
|
+
'prediction_breakdown',
|
|
304
|
+
'feature_contribution_analysis',
|
|
305
|
+
'global_feature_importance',
|
|
306
|
+
'local_feature_importance',
|
|
307
|
+
'model_summary_statistics',
|
|
308
|
+
# Interpretation (aliases)
|
|
309
|
+
'feat_importance_scores',
|
|
310
|
+
'perm_importance',
|
|
311
|
+
'pdp',
|
|
312
|
+
'shap_approx',
|
|
313
|
+
'lime_explain',
|
|
314
|
+
'decision_path',
|
|
315
|
+
'coef_interpret',
|
|
316
|
+
'pred_breakdown',
|
|
317
|
+
'feat_contrib',
|
|
318
|
+
'global_importance',
|
|
319
|
+
'local_importance',
|
|
320
|
+
'model_summary',
|
|
321
|
+
# Pipeline (full names)
|
|
322
|
+
'create_pipeline',
|
|
323
|
+
'add_pipeline_step',
|
|
324
|
+
'execute_pipeline',
|
|
325
|
+
'validate_pipeline',
|
|
326
|
+
'serialize_pipeline',
|
|
327
|
+
'deserialize_pipeline',
|
|
328
|
+
'pipeline_transform',
|
|
329
|
+
'pipeline_fit_transform',
|
|
330
|
+
'get_pipeline_params',
|
|
331
|
+
'set_pipeline_params',
|
|
332
|
+
'clone_pipeline',
|
|
333
|
+
'pipeline_summary',
|
|
334
|
+
# Pipeline (aliases)
|
|
335
|
+
'create_pipe',
|
|
336
|
+
'add_step',
|
|
337
|
+
'execute_pipe',
|
|
338
|
+
'validate_pipe',
|
|
339
|
+
'serialize_pipe',
|
|
340
|
+
'deserialize_pipe',
|
|
341
|
+
'pipe_transform',
|
|
342
|
+
'pipe_fit_transform',
|
|
343
|
+
'get_params',
|
|
344
|
+
'set_params',
|
|
345
|
+
'clone_pipe',
|
|
346
|
+
'pipe_summary',
|
|
237
347
|
]
|