Description Usage Arguments Value Examples
The function uses a spline to fit to vib_training
against load_training
.
An alarm is generated when the test data fall outside a band of three sigma.
The function generates a plot by default, showing the training data falling outside the 3 sigma band.
1 2 | count_alarms_constant_var_faster(load_training, vib_training, knots, load_test,
vib_test, show_figure = TRUE, load_min = 0)
|
load_training |
A vector containing the training data of the load variables such as power or generator speed. |
vib_training |
A vector containing the training data of the vibration signal. |
knots |
A vector containing the locations of the knots. |
load_test |
A vector with the test data of the load variable. |
vib_test |
A vector with the test data of the vibration signal. |
show_figure |
A logical vector indicating if a plot should be made. |
load_min |
The minimum load to be used. |
A list of the count of the number of alarms, alarm rate, and residuals. Furthermore a plot is
generated by default set by show_figure
.
count |
A count of the number of alarms in the test set. |
alarm_rate |
The alarm rate in the test set. |
residuals |
The residuals from the test set. |
1 2 | count_alarms_constant_var_faster(ltrain, vtrain, knots = c(20,25,27),
ltest, vtest, load_min = 17)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.