langtest.transform.clinical.DemographicBias#

class DemographicBias#

Bases: BaseClincial

DemographicBias class for the clinical tests

__init__()#

Methods

__init__()

async_run(*args, **kwargs)

Async run method for the clinical tests

available_tests()

Available tests for the clinical tests

run(sample_list, model, **kwargs)

Run method for the DemographicBias class

transform(sample_list, *args, **kwargs)

Transform method for the DemographicBias class

Attributes

alias_name

supported_tasks

test_types

async classmethod async_run(*args, **kwargs)#

Async run method for the clinical tests

classmethod available_tests() Dict[str, BaseClincial]#

Available tests for the clinical tests

async static run(sample_list: List[Sample], model: ModelAPI, **kwargs)#

Run method for the DemographicBias class

static transform(sample_list: List[Sample], *args, **kwargs)#

Transform method for the DemographicBias class