How to estimate the Piecewise Hazard estimator.
PieceWiseHazard
(breakpoints
:array
, t_scaler
:MaxAbsScaler
, **kwargs
) :: Module
Piecewise Hazard where the hazard is constant between breakpoints.
parameters:
- breakpoints: time points where hazard would change (must include 0 and max possible time)