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 Jul 25, 2024
1 parent 94eabe3 commit aca4672
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pysr/ssr.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
from .sr import PySRRegressor
import numpy as np
from typing import List, Optional, Union

import numpy as np

from .sr import PySRRegressor
from .utils import ArrayLike


class PySRSequenceRegressor(PySRRegressor):
def __init__(
self,
Expand Down Expand Up @@ -148,4 +151,4 @@ def predict(self, X, index=None):
X = np.lib.stride_tricks.sliding_window_view(
X.flatten(), self.recursive_history_length * np.prod(temp.shape)
)[:: temp.shape[0], :]
return super().predict(X, index=index)
return super().predict(X, index=index)

0 comments on commit aca4672

Please sign in to comment.