rhino_health.lib.metrics.cox
#
Module Contents#
Classes#
The initial beta value for the Cox metric. |
|
A metric that calculates the Cox proportional hazard metric for a dataset. |
- class rhino_health.lib.metrics.cox.InitialBeta#
Bases:
enum.Enum
The initial beta value for the Cox metric.
- ZERO = 'zero'#
- MEAN = 'mean'#
- class rhino_health.lib.metrics.cox.Cox(**data: Any)#
Bases:
rhino_health.lib.metrics.base_metric.AggregatableMetric
A metric that calculates the Cox proportional hazard metric for a dataset.
- time_variable: rhino_health.lib.metrics.filter_variable.FilterVariableTypeOrColumnName#
- event_variable: rhino_health.lib.metrics.filter_variable.FilterVariableTypeOrColumnName#
- covariates: List[rhino_health.lib.metrics.filter_variable.FilterVariableTypeOrColumnName] | None#
- initial_beta: InitialBeta | None#
- max_iterations: int = 100#
- accuracy: float = 1e-06#