helpers Package

configbuilder Module

class WORC.facade.helpers.configbuilder.ConfigBuilder[source]

Bases: object

__dict__ = mappingproxy({'__module__': 'WORC.facade.helpers.configbuilder', '__init__': <function ConfigBuilder.__init__>, 'build_config': <function ConfigBuilder.build_config>, 'custom_config_overrides': <function ConfigBuilder.custom_config_overrides>, '_cluster_config_overrides': <function ConfigBuilder._cluster_config_overrides>, 'estimator_scoring_overrides': <function ConfigBuilder.estimator_scoring_overrides>, 'coarse_overrides': <function ConfigBuilder.coarse_overrides>, 'fullprint': <function ConfigBuilder.fullprint>, '_debug_config_overrides': <function ConfigBuilder._debug_config_overrides>, '__dict__': <attribute '__dict__' of 'ConfigBuilder' objects>, '__weakref__': <attribute '__weakref__' of 'ConfigBuilder' objects>, '__doc__': None, '__annotations__': {}})
__init__()[source]
__module__ = 'WORC.facade.helpers.configbuilder'
__weakref__

list of weak references to the object (if defined)

build_config(defaultconfig)[source]
coarse_overrides()[source]
custom_config_overrides(config)[source]
estimator_scoring_overrides(estimators, scoring_method)[source]
fullprint()[source]

Print the full contents of the config to the console.

exceptions Module

exception WORC.facade.helpers.exceptions.InvalidCsvFileException(path)[source]

Bases: Exception

__init__(path)[source]
__module__ = 'WORC.facade.helpers.exceptions'
__weakref__

list of weak references to the object (if defined)

exception WORC.facade.helpers.exceptions.InvalidOrderException(function, execute_first)[source]

Bases: Exception

__init__(function, execute_first)[source]
__module__ = 'WORC.facade.helpers.exceptions'
__weakref__

list of weak references to the object (if defined)

exception WORC.facade.helpers.exceptions.NoFeaturesFoundException(path)[source]

Bases: Exception

__init__(path)[source]
__module__ = 'WORC.facade.helpers.exceptions'
__weakref__

list of weak references to the object (if defined)

exception WORC.facade.helpers.exceptions.NoImagesFoundException(path)[source]

Bases: Exception

__init__(path)[source]
__module__ = 'WORC.facade.helpers.exceptions'
__weakref__

list of weak references to the object (if defined)

exception WORC.facade.helpers.exceptions.NoMasksFoundException(path)[source]

Bases: Exception

__init__(path)[source]
__module__ = 'WORC.facade.helpers.exceptions'
__weakref__

list of weak references to the object (if defined)

exception WORC.facade.helpers.exceptions.NoSegmentationsFoundException(path)[source]

Bases: Exception

__init__(path)[source]
__module__ = 'WORC.facade.helpers.exceptions'
__weakref__

list of weak references to the object (if defined)

exception WORC.facade.helpers.exceptions.PathNotFoundException(path)[source]

Bases: Exception

__init__(path)[source]
__module__ = 'WORC.facade.helpers.exceptions'
__weakref__

list of weak references to the object (if defined)

processing Module

WORC.facade.helpers.processing.convert_radiomix_features(input_file, output_folder)[source]

Convert .xlsx from RadiomiX to WORC compatible .hdf5 format

Input:

input_file: .xlsx in which the feature are stored. output_folder: folder in which features are stored