Skip to content

Commit

Permalink
fix output of scaler so we get user labels in summary
Browse files Browse the repository at this point in the history
  • Loading branch information
jkitchin committed Jul 10, 2024
1 parent 7176cbe commit 618d71f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pycse/sklearn/surface_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ def __init__(

if model is None:
self.default = True
scaler = MinMaxScaler(feature_range=(-1, 1)).set_output(transform="pandas")
super().__init__(
steps=[
("minmax", MinMaxScaler(feature_range=(-1, 1))),
("minmax", scaler),
("poly", PolynomialFeatures(2)),
("surface response", LinearRegressionUQ()),
]
Expand Down

0 comments on commit 618d71f

Please sign in to comment.