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

[BUG] weak segments for multilabel sometime cruses #2539

Open
Nadav-Barak opened this issue May 16, 2023 · 0 comments
Open

[BUG] weak segments for multilabel sometime cruses #2539

Nadav-Barak opened this issue May 16, 2023 · 0 comments
Labels
bug linear needs triage Issue needs to be labeled and prioritized

Comments

@Nadav-Barak
Copy link
Collaborator

Describe the bug
When running weak segments on multi label - in some cases it cruses. problem original is incomplete support of tabular in multi-label, specifically our MyModelWrapper class.

To Reproduce
from deepchecks.nlp.datasets.classification import just_dance_comment_analysis

train_ds, test_ds = just_dance_comment_analysis.load_data(include_embeddings=True)
train_probas, test_probas = just_dance_comment_analysis.load_precalculated_predictions(pred_format='probabilities')

from deepchecks.nlp.checks import PropertySegmentsPerformance

check = PropertySegmentsPerformance(segment_minimum_size_ratio = 0.07)
check = check.add_condition_segments_relative_performance_greater_than(0.2)
result = check.run(test_ds, probabilities=test_probas)
result.show()

image

@github-actions github-actions bot added needs triage Issue needs to be labeled and prioritized linear labels May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug linear needs triage Issue needs to be labeled and prioritized
Projects
None yet
Development

No branches or pull requests

1 participant