column_avg
Column averaging algorithm.
Classes
ColumnAverage
class ColumnAverage(*, field: str, table_name: str, **kwargs: Any):
Simple algorithm for taking the arithmetic mean of a column in a table.
Arguments
field
: The name of the column to take the mean of.
Attributes
name
: The name of the algorithm.field
: The name of the column to take the mean of.
Ancestors
- bitfount.federated.algorithms.base._BaseAlgorithmFactory
- abc.ABC
- bitfount.federated.roles._RolesMixIn
- bitfount.types._BaseSerializableObjectMixIn
Methods
def modeller( self, **kwargs: Any,) ‑> bitfount.federated.algorithms.column_avg._ModellerSide:
Returns the modeller side of the ColumnAverage algorithm.
def worker(self, **kwargs: Any) ‑> bitfount.federated.algorithms.column_avg._WorkerSide:
Returns the worker side of the ColumnAverage algorithm.
Variables
- static
fields_dict : ClassVar[Dict[str, marshmallow.fields.Field]]