czbenchmarks.tasks.integration
Attributes
Classes
Task for evaluating batch integration quality. |
Module Contents
- czbenchmarks.tasks.integration.logger
- class czbenchmarks.tasks.integration.BatchIntegrationTask(label_key: str, batch_key: str)[source]
Bases:
czbenchmarks.tasks.base.BaseTask
Task for evaluating batch integration quality.
This task computes metrics to assess how well different batches are integrated in the embedding space while preserving biological signals.
- Parameters:
label_key – Key to access ground truth cell type labels in metadata
batch_key – Key to access batch labels in metadata
- label_key
- batch_key
- property required_inputs: Set[czbenchmarks.datasets.DataType]
Required input data types.
- Returns:
Set of required input DataTypes (metadata with labels)
- property required_outputs: Set[czbenchmarks.datasets.DataType]
Required output data types.
- Returns:
required output types from models this task to run (embedding coordinates)