Quantus icon indicating copy to clipboard operation
Quantus copied to clipboard

Metrics support for tabular data

Open annahedstroem opened this issue 3 years ago • 4 comments

Description of the problem

  • Support tabular data for different categories of explanation quality such as Robustness, Faithfulness
  • Lay out the technical requirements of the different categories:
    • [] Faithfulness
    • [] Robustness
    • [] Localisation
    • [] Complexity
    • [] Randomisation

Description of a solution

  • Define minimal examples for perturbation given different dtypes
  • Provide data_availability desc for all metrics if cannot support
  • Warnings

Minimum acceptance criteria

  • New tests added
  • All tests

annahedstroem avatar Dec 16 '22 14:12 annahedstroem

Randomisation and Complexity metrics already have support for tabular data, it is demonstrated in Tutorial_Getting_Started_with_Tabular_Data.ipynb.

aaarrti avatar Feb 15 '23 20:02 aaarrti

Hi @annahedstroem, @dilyabareeva, @aaarrti

Are there any updates about this task? I was doing some investigation using Tabular data as a proxy measure before going to NLP and I could benefit from this

abarbosa94 avatar Dec 14 '23 17:12 abarbosa94

Can you confirm whether Randomization and Complexity are the only metrics that support tabular data, or are there any others that also do?

boltzmann-brain avatar Jan 09 '24 21:01 boltzmann-brain

Can you confirm whether Randomization and Complexity are the only metrics that support tabular data, or are there any others that also do?

Hi @boltzmann-brain,

you can check which data domain metric supports with:

import quantus

quantus.metrics.<MetricClass>.data_applicability

If the return value contains <DataType.TABULAR: 'tabular'>, the metric was verified to support tabular data.

aaarrti avatar Jan 09 '24 22:01 aaarrti