dacapo.blockwise.threshold_worker

Module Contents

Functions

cli(log_level)

start_worker(input_container, input_dataset, ...[, ...])

spawn_worker(input_array_identifier, ...[, threshold])

Spawn a worker to predict on a given dataset.

Attributes

logger

read_write_conflict

fit

path

dacapo.blockwise.threshold_worker.logger
dacapo.blockwise.threshold_worker.read_write_conflict: bool = False
dacapo.blockwise.threshold_worker.fit: str = 'valid'
dacapo.blockwise.threshold_worker.path
dacapo.blockwise.threshold_worker.cli(log_level)
dacapo.blockwise.threshold_worker.start_worker(input_container: pathlib.Path | str, input_dataset: str, output_container: pathlib.Path | str, output_dataset: str, threshold: float = 0.0)
dacapo.blockwise.threshold_worker.spawn_worker(input_array_identifier: dacapo.store.array_store.LocalArrayIdentifier, output_array_identifier: dacapo.store.array_store.LocalArrayIdentifier, threshold: float = 0.0)

Spawn a worker to predict on a given dataset.

Parameters:
  • model (Model) – The model to use for prediction.

  • raw_array (Array) – The raw data to predict on.

  • prediction_array_identifier (LocalArrayIdentifier) – The identifier of the prediction array.