reduce_csv_algorithm_charcoal
Algorithms and related functionality for simply outputting data to CSV.
Classes
ReduceCSVAlgorithmCharcoal
class ReduceCSVAlgorithmCharcoal( datastructure: DataStructure, save_path: Optional[Union[str, os.PathLike]] = None, **kwargs: Any,):
Algorithm that reduces Charcoal CSV results to one-row-per-patient.
Arguments
datastructure
: The datastructure to use.save_path
: Optional. The path to save the CSV to from the worker.- **
**kwargs
**: Passed to parent.
Ancestors
- BaseNonModelAlgorithmFactory
- BaseAlgorithmFactory
- abc.ABC
- bitfount.federated.roles._RolesMixIn
- bitfount.types._BaseSerializableObjectMixIn
Variables
- static
fields_dict : ClassVar[dict[str, marshmallow.fields.Field]]
Methods
modeller
def modeller( self, **kwargs: Any,) ‑> NoResultsModellerAlgorithm:
Modeller-side of the ReduceCSVAlgorithmCharcoal algorithm.
worker
def worker( self, **kwargs: Any,) ‑> bitfount.federated.algorithms.ophthalmology.reduce_csv_algorithm_charcoal._WorkerSide:
Worker-side of the ReduceCSVAlgorithmCharcoal algorithm.