8 issues detected
Robustness 5
Performance 1
Ethical 2

Your model seems to be sensitive to small perturbations in the input data. These perturbations can include adding typos, changing word order, or turning text into uppercase or lowercase. This happens when:

  • There is not enough diversity in the training data
  • Overreliance on spurious correlations like the presence of specific word
  • Use of complex models with large number of parameters that tend to overfit the training data

To learn more about causes and solutions, check our guide on robustness issues.

Issues

2 major 3 medium
Feature `text` Add typos Fail rate = 0.151 151/1000 tested samples (15.1%) changed prediction after perturbation 1000 samples affected
(50.0% of dataset)
Show details
Feature `text` Transform to uppercase Fail rate = 0.147 147/1000 tested samples (14.7%) changed prediction after perturbation 1000 samples affected
(50.0% of dataset)
Show details
Feature `text` Transform to title case Fail rate = 0.092 92/1000 tested samples (9.2%) changed prediction after perturbation 1000 samples affected
(50.0% of dataset)
Show details
Feature `text` Punctuation Removal Fail rate = 0.082 82/1000 tested samples (8.2%) changed prediction after perturbation 1000 samples affected
(50.0% of dataset)
Show details
Feature `text` Transform to lowercase Fail rate = 0.052 52/1000 tested samples (5.2%) changed prediction after perturbation 1000 samples affected
(50.0% of dataset)
Show details

Debug your issues in the Giskard hub

Install the Giskard hub app to:

  • Debug and diagnose your scan issues
  • Save your scan result as a re-executable test suite to benchmark your model
  • Extend your test suite with our catalog of ready-to-use tests

You can find installation instructions here.

from giskard import GiskardClient

# Create a test suite from your scan results
test_suite = results.generate_test_suite("My first test suite")

# Upload your test suite to your Giskard hub instance
client = GiskardClient("http://localhost:19000", "GISKARD_API_KEY")
client.create_project("my_project_id", "my_project_name")
test_suite.upload(client, "my_project_id")