Skip to content

FIX: issue with fitting TargetEncoder in tests#324

Merged
adrinjalali merged 1 commit intoskops-dev:mainfrom
BenjaminBossan:fix-target-encoder-tests
Mar 21, 2023
Merged

FIX: issue with fitting TargetEncoder in tests#324
adrinjalali merged 1 commit intoskops-dev:mainfrom
BenjaminBossan:fix-target-encoder-tests

Conversation

@BenjaminBossan
Copy link
Copy Markdown
Collaborator

In the persistence tests, the TargetEncoder (newly added to sklearn) is fit without a y, which fails. Now it is fitted with y.

The issue was that we assumed that estimators with "categorical" X-type never required a target, which was true so far but is no longer true.

In the persistence tests, the TargetEncoder (newly added to sklearn) is
fit without a y, which fails. Now it is fitted with y.

The issue was that we assumed that estimators with "categorical" X-type
never required a target, which was true so far but is no longer true.
@adrinjalali adrinjalali merged commit 18e6ddf into skops-dev:main Mar 21, 2023
@BenjaminBossan BenjaminBossan deleted the fix-target-encoder-tests branch March 21, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants