Skip to content

Commit 275e4ef

Browse files
authored
23241: Removes old unused react_aggregate parameter, "residuals_hyperparameter_feature". MAJOR (#385)
1 parent f320ba3 commit 275e4ef

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

howso/client/base.py

-8
Original file line numberDiff line numberDiff line change
@@ -3546,7 +3546,6 @@ def react_aggregate( # noqa: C901
35463546
num_robust_influence_samples_per_case: t.Optional[int] = None,
35473547
num_samples: t.Optional[int] = None,
35483548
prediction_stats_action_feature: t.Optional[str] = None,
3549-
residuals_hyperparameter_feature: t.Optional[str] = None,
35503549
robust_hyperparameters: t.Optional[bool] = None,
35513550
sample_model_fraction: t.Optional[float] = None,
35523551
sub_model_size: t.Optional[int] = None,
@@ -3748,12 +3747,6 @@ def react_aggregate( # noqa: C901
37483747
Total sample size of model to use (using sampling with replacement)
37493748
for all non-robust computation. Defaults to 1000.
37503749
If specified overrides sample_model_fraction.```
3751-
residuals_hyperparameter_feature : str, optional
3752-
When calculating residuals and prediction stats, uses this target
3753-
features's hyperparameters. The trainee must have been analyzed with
3754-
this feature as the action feature first. If not provided, by default
3755-
residuals and prediction stats uses targetless hyperparameters. Targetless
3756-
hyperparameters may also be selected using an empty string: "".
37573750
robust_hyperparameters : bool, optional
37583751
When specified, will attempt to return residuals that were
37593752
computed using hyperparameters with the specified robust or
@@ -3832,7 +3825,6 @@ def react_aggregate( # noqa: C901
38323825
stats = self.execute(trainee_id, "react_aggregate", {
38333826
"action_feature": action_feature,
38343827
"action_features": action_features,
3835-
"residuals_hyperparameter_feature": residuals_hyperparameter_feature,
38363828
"context_features": context_features,
38373829
"confusion_matrix_min_count": confusion_matrix_min_count,
38383830
"details": details,

howso/engine/trainee.py

-8
Original file line numberDiff line numberDiff line change
@@ -3151,7 +3151,6 @@ def react_aggregate(
31513151
num_robust_influence_samples_per_case: t.Optional[int] = None,
31523152
num_samples: t.Optional[int] = None,
31533153
prediction_stats_action_feature: t.Optional[str] = None,
3154-
residuals_hyperparameter_feature: t.Optional[str] = None,
31553154
robust_hyperparameters: t.Optional[bool] = None,
31563155
sample_model_fraction: t.Optional[float] = None,
31573156
sub_model_size: t.Optional[int] = None,
@@ -3349,12 +3348,6 @@ def react_aggregate(
33493348
Total sample size of model to use (using sampling with replacement)
33503349
for all non-robust computation. Defaults to 1000.
33513350
If specified overrides sample_model_fraction.```
3352-
residuals_hyperparameter_feature : str, optional
3353-
When calculating residuals and prediction stats, uses this target
3354-
features's hyperparameters. The trainee must have been analyzed with
3355-
this feature as the action feature first. If not provided, by default
3356-
residuals and prediction stats uses targetless hyperparameters. Targetless
3357-
hyperparameters can also be selected using an empty string: "".
33583351
robust_hyperparameters : bool, optional
33593352
When specified, will attempt to return residuals that were
33603353
computed using hyperparameters with the specified robust or
@@ -3404,7 +3397,6 @@ def react_aggregate(
34043397
num_robust_influence_samples_per_case=num_robust_influence_samples_per_case,
34053398
num_samples=num_samples,
34063399
prediction_stats_action_feature=prediction_stats_action_feature,
3407-
residuals_hyperparameter_feature=residuals_hyperparameter_feature,
34083400
robust_hyperparameters=robust_hyperparameters,
34093401
sample_model_fraction=sample_model_fraction,
34103402
sub_model_size=sub_model_size,

0 commit comments

Comments
 (0)