Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: issue with fitting TargetEncoder in tests #324

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

BenjaminBossan
Copy link
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