skada icon indicating copy to clipboard operation
skada copied to clipboard

CircularValidation doesnt work with an estimator using SelectTarget

Open YanisLalou opened this issue 11 months ago • 0 comments

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 avatar Mar 18 '24 12:03 YanisLalou