Skip to content

Commit

Permalink
Fix incorrect changes introduced in cherry-pick
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksamsten committed Jun 24, 2024
1 parent 4d07f94 commit 235571c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 288 deletions.
273 changes: 0 additions & 273 deletions src/wildboar/explain/counterfactual/_nun.py

This file was deleted.

15 changes: 0 additions & 15 deletions src/wildboar/linear_model/_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@ def decision_function(self, x):


class TransformRidgeClassifierCV(BaseTransformClassifier):
_parameter_constraints = {
**BaseTransformEstimator._parameter_constraints,
**RidgeClassifierCV._parameter_constraints,
"normalize": [bool, StrOptions({"sparse"})],
}
_parameter_constraints.pop("store_cv_values")
_parameter_constraints.pop("store_cv_results")

def __init__(
self,
Expand Down Expand Up @@ -136,14 +129,6 @@ def predict_proba(self, x):


class TransformRidgeCV(BaseTransformRegressor):
_parameter_constraints = {
**BaseTransformEstimator._parameter_constraints,
**RidgeCV._parameter_constraints,
"normalize": [bool, StrOptions({"sparse"})],
}

for param in ("store_cv_values", "store_cv_results", "alpha_per_target"):
_parameter_constraints.pop(param)

def __init__(
self,
Expand Down

0 comments on commit 235571c

Please sign in to comment.