lib.sedna.algorithms.unseen_task_processing.unseen_task_allocation.base_unseen_task_allocation

Mining tasks of inference unseen sample base on unseen task attribute extractor

param samples : infer unseen sample:

:param : :param see sedna.datasources.BaseDataSource for more detail.:

returns:

allocations

rtype:

tasks that assigned to each sample

Module Contents

Classes

BaseUnseenTaskAllocation

Task allocation for unseen data

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

Task allocation for unseen data

Parameters:

task_extractor (Dict) – used to match target tasks

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

samples (samples to be allocated) –

Returns:

  • samples (BaseDataSource) – grouped samples based on allocations

  • allocations (List) – allocation decision for actual inference