[FEATURE]: Allow Metrics To Directly Accept Frameworks & Datasets #25
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
refactoring
Internal changes to the code that do not change the outputs.
Milestone
Is your feature request related to a problem? Please describe.
Current metrics require that you provide a representation function. This is inconvenient and always repeated. Metrics also always require that the dataset be a DisentDataset.
Describe the solution you'd like
Allow the metrics to directly accept the frameworks instead, and automatically wrap datasets with DisentDataset
Describe alternatives you've considered
if isinstance(obj, DisentFramework)
then handle everything automatically!get_representation
encode
and use that instead!The text was updated successfully, but these errors were encountered: