Skip to content

Commit

Permalink
fix models performance
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Nov 29, 2024
1 parent 78d01ec commit 41b0d21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ repos:
rev: v0.2.1
hooks:
- id: ruff
files: 'nixtla'

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
hooks:
- id: mypy
args: [--ignore-missing-imports]
exclude: "setup.py"
files: 'nixtla'
2 changes: 1 addition & 1 deletion action_files/models_performance/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def evaluate_benchmark_performace(self) -> Tuple[pd.DataFrame, pd.DataFrame]:
h=self.h,
n_windows=self.n_windows,
step_size=self.h,
).reset_index()
)
total_time = time() - init_time
cv_model_df = cv_model_df.rename(
columns={value: key for key, value in renamer.items()}
Expand Down

0 comments on commit 41b0d21

Please sign in to comment.