Baseline models
BaselineModel
Predict the RUL using the mean or the median value of the duration of the dataset
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mode |
str
|
Method for computing the duration of the dataset. Possible values are: 'mean' and 'median' |
'mean'
|
Source code in ceruleo/models/baseline.py
fit(ds)
Compute the mean or median RUL using the given dataset
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ds |
Union[TransformedDataset, AbstractPDMDataset]
|
Dataset from which obtain the true RUL |
required |
Source code in ceruleo/models/baseline.py
predict(ds)
Predict the whole life using the fitted values
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ds |
TransformedDataset
|
Dataset iterator from which obtain the true RUL |
required |
Returns:
Type | Description |
---|---|
ndarray
|
Predicted RUL |
Source code in ceruleo/models/baseline.py
FixedValueBaselineModel
A model that predicts always the same duration for each run-to-failure cycle
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
float
|
Fixed RUL |
required |
Source code in ceruleo/models/baseline.py
predict(ds, RUL_threshold=None)
Predict the whole life using the fixed values
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ds |
TransformedDataset
|
Dataset iterator from which obtain the true RUL |
required |
Returns:
Type | Description |
---|---|
ndarray
|
Predicted RUL |