relife.datasets.load_power_transformer

relife.datasets.load_power_transformer

relife.datasets.load_power_transformer() relife.data.LifetimeData[source]

Load and return the power transformer lifetime data.

The data were simulated from a real estimate:

  • time: time-to-event or durations in years,

  • event: if a failure occurs during the observation period,

  • entry: age of the power transformers in years at the beginning of the observation period.

Returns

The lifetime data as a dataclass instance.

Return type

LifetimeData

Examples

from relife.datasets import load_power_transformer
time, event, entry = load_power_transformer().astuple()