We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In this example:
X, y, sample_domain = da_dataset.pack_train(as_sources=['s'], as_targets=['t']) estimator = make_da_pipeline( ReweightDensityAdapter(), LogisticRegression().set_score_request(sample_weight=True), ) cv = ShuffleSplit(n_splits=3, test_size=0.3, random_state=0) _, target_labels, _ = da_dataset.pack(as_sources=['s'], as_targets=['t'], train=False) scoring = SupervisedScorer() scores = cross_validate( estimator, X, y, cv=cv, params={'sample_domain': sample_domain, 'target_labels': target_labels}, scoring=scoring, )
The target_labels corresponds to the labels of the SOURCE + TARGET samples. Calling this array target_labels is super confusing...
We could call it unmasked_labels, all_labels, source_target_labels or even y_test.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this example:
The target_labels corresponds to the labels of the SOURCE + TARGET samples.
Calling this array target_labels is super confusing...
We could call it unmasked_labels, all_labels, source_target_labels or even y_test.
The text was updated successfully, but these errors were encountered: