mparameters¶
- mparameters(*fields: str) Callable[[Type[T]], Type[T]][source]¶
Sets the M-step parameters for a class.
- Returns:
class decorator.
- Return type:
Callable[[Type[T]], Type[T]]
Important
If a class inherits from multiple classes defining M-step parameters, then even if it does not directly specify any M-step parameters it should still be decorated with
@mparameters()to collate all superclass M-step parameters.