Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 12, 2023
1 parent 6485d00 commit 1837be9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/pyepal/models/coregionalized.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def __init__( # pylint:disable=too-many-arguments
W_rank=1,
kernel_name="coreg",
):

# Input and Output
(
X, # pylint:disable=invalid-name
Expand Down
1 change: 0 additions & 1 deletion src/pyepal/pal/pal_gpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def _train(self):
pass # There is no training in instance based models

def _predict(self):

from ..models.gpr import predict # pylint:disable=import-outside-toplevel

means, stds = [], []
Expand Down
2 changes: 1 addition & 1 deletion src/pyepal/pal/pal_neural_tangent.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

__all__ = ["PALNT", "NTModel"]


# We move those functions out of the class so that we can parallelize them
def _set_one_infinite_width_model( # pylint:disable=too-many-arguments
i: int,
Expand Down Expand Up @@ -127,7 +128,6 @@ def __init__(self, *args, **kwargs):
def _set_data(self):
self.design_space = self.design_space_scaler.fit_transform(self.design_space)
for i, _ in enumerate(self.models):

predict_fn, scaler = _set_one_infinite_width_model(
i,
self.models,
Expand Down

0 comments on commit 1837be9

Please sign in to comment.