lib.sedna.algorithms.unseen_task_processing.unseen_task_allocation.unseen_task_allocation

Module Contents

Classes

UnseenTaskAllocationDefault

Task allocation for unseen data

class lib.sedna.algorithms.unseen_task_processing.unseen_task_allocation.unseen_task_allocation.UnseenTaskAllocationDefault(task_extractor, **kwargs)[source]

Bases: lib.sedna.algorithms.unseen_task_processing.unseen_task_allocation.base_unseen_task_allocation.BaseUnseenTaskAllocation

Task allocation for unseen data

Parameters:

task_extractor (Dict) – used to match target tasks

__call__(samples: sedna.datasources.BaseDataSource)[source]
Parameters:

samples (samples to be allocated) –

Returns:

  • samples (BaseDataSource)

  • allocations (List) – allocation decision for actual inference