Skip to content

Commit

Permalink
increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
znicolaou committed Dec 2, 2023
1 parent b71e7f7 commit 58f3c53
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/test_feature_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,9 @@ def test_concat(data_lorenz):
check_is_fitted(concat_lib)
concat_lib.fit_transform(x)
check_is_fitted(concat_lib)
model = SINDy(feature_library=concat_lib)
model.fit(x, t=t)
model.print()


def test_tensored(data_lorenz):
Expand All @@ -418,6 +421,9 @@ def test_tensored(data_lorenz):
check_is_fitted(tensored_lib)
tensored_lib.fit_transform(x)
check_is_fitted(tensored_lib)
model = SINDy(feature_library=tensored_lib)
model.fit(x, t=t)
model.print()


def test_trimmed(data_lorenz):
Expand All @@ -431,6 +437,9 @@ def test_trimmed(data_lorenz):
check_is_fitted(trimmed_lib)
trimmed_lib.fit_transform(x)
check_is_fitted(trimmed_lib)
model = SINDy(feature_library=trimmed_lib)
model.fit(x, t=t)
model.print()


@pytest.mark.parametrize(
Expand Down

0 comments on commit 58f3c53

Please sign in to comment.