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

CircularValidation doesnt work with an estimator using SelectTarget #152

Open
YanisLalou opened this issue Mar 18, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@YanisLalou
Copy link
Collaborator

By using SelectTarget, the estimator only sees the target samples/labels/domains.
However to compute the CircularValidation we need to train the estimator on the source THEN the target samples.
Thus ValueError: Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required. appears during the scoring of the method.

Solution: Return the default scorer instead ?

@YanisLalou YanisLalou added the bug Something isn't working label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant