Skip to content

Commit

Permalink
add back split tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolinmorgan committed Jan 2, 2024
1 parent 16d1d3e commit bd39050
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Empty file added cu_cat/tests/__init__.py
Empty file.
28 changes: 14 additions & 14 deletions cu_cat/tests/test_table_vectorizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,20 +388,20 @@ def test_check_fitted_table_vectorizer() -> None:
tv.transform(X)


@pytest.mark.parametrize(
"pipeline",
[
TableVectorizer(),
TableVectorizer(
specific_transformers=[
(GapEncoder(), ["cat1", "cat2"]),
],
),
TableVectorizer(
high_card_cat_transformer=GapEncoder(),
),
],
)
# @pytest.mark.parametrize(
# "pipeline",
# [
# TableVectorizer(),
# TableVectorizer(
# transformers=[
# (GapEncoder(), ["cat1", "cat2"]),
# ],
# ),
# TableVectorizer(
# high_card_cat_transformer=GapEncoder(),
# ),
# ],
# )
def test_deterministic(pipeline) -> None:
"""
Tests that running the same TableVectorizer multiple times with the same
Expand Down

0 comments on commit bd39050

Please sign in to comment.