sksurv.functions.
StepFunction
Callable step function.
x (ndarray, shape = (n_points,)) – Values on the x axis in ascending order.
y (ndarray, shape = (n_points,)) – Corresponding values on the y axis.
a (float, optional, default: 1.0) – Constant to multiply by.
b (float, optional, default: 0.0) – Constant offset term.
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(x, y[, a, b])
Initialize self.