relife.datasets.load_circuit_breaker

relife.datasets.load_circuit_breaker

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

Load and return the circuit breaker 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 circuit breakers 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_circuit_breaker
time, event, entry = load_circuit_breaker().astuple()