Skip to content

Commit 539fa28

Browse files
committed
TST add divergence test for narx
1 parent f7ff796 commit 539fa28

File tree

5 files changed

+691
-761
lines changed

5 files changed

+691
-761
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: prefix-dev/[email protected].3
12+
- uses: prefix-dev/[email protected].4
1313
with:
1414
environments: default
1515
cache: true
1616

1717
- name: Re-install local
1818
run: |
19-
pixi run rebuild
19+
pixi reinstall --frozen fastcan
2020
2121
- name: Lint with ruff
2222
run: |

fastcan/narx.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,10 @@ class NARX(MultiOutputMixin, RegressorMixin, BaseEstimator):
406406
>>> print_narx(narx)
407407
| yid | Term | Coef |
408408
=======================================
409-
| 0 | Intercept | 1.008 |
410-
| 0 | y_hat[k-1,0] | 0.498 |
411-
| 0 | X[k-2,0] | 0.701 |
412-
| 0 | X[k-1,0]*X[k-3,0] | 1.496 |
409+
| 0 | Intercept | 1.069 |
410+
| 0 | y_hat[k-1,0] | 0.478 |
411+
| 0 | X[k-2,0] | 0.716 |
412+
| 0 | X[k-1,0]*X[k-3,0] | 1.504 |
413413
"""
414414

415415
_parameter_constraints: dict = {

0 commit comments

Comments
 (0)