survive.base.Fittable

class survive.base.Fittable[source]

Abstract mixin class for models implementing a fit() method.

Methods

check_fitted() Check whether this model is fitted.
fit(*args, **kwargs) Fit this model to data.
check_fitted()[source]

Check whether this model is fitted. If not, raise an exception.

fit(*args, **kwargs)[source]

Fit this model to data.

Returns:
self : Model

The Model being fitted.