dacapo.experiments.tasks.dummy_task_config

Module Contents

Classes

DummyTaskConfig

A class for creating a dummy task configuration object.

class dacapo.experiments.tasks.dummy_task_config.DummyTaskConfig

A class for creating a dummy task configuration object.

This class extends the TaskConfig class and initializes dummy task configuration with default attributes. It is mainly used for testing aspects of the application without the need of creating real task configurations.

task_type

The type of task. Here, set to DummyTask.

Type:

cls

embedding_dims

A dummy attribute represented as an integer.

Type:

int

detection_threshold

Another dummy attribute represented as a float.

Type:

float

task_type
embedding_dims: int
detection_threshold: float
verify() Tuple[bool, str]

A method to verify the dummy task configuration.

Whenever called, this method always returns False and a statement showing that the DummyTaskConfig object is never valid.

Returns:

A tuple containing a boolean status and a string message.

Return type:

tuple