score_algorithm_output
is a scoring function definition used in function exec_algorithm
.
score_algorithm_output(algo_output, obs_ctrl)
(data frame) The output of exec_algorithm
.
(list) (See break_signal
)
A data.table
with the following columns:
The vector of \(k\) values
\(\Delta{\text{Idev}}\)
\(\Delta^{2}{\text{Idev}}\)
The break score \(\to\) information deviation equation/model
The number of observations in each \(k\)
The maximal value of the geometric probability mass function returned by geo_pmf
The weighted-mean of \(\text{Idev}\) using as weights the geometric PMF (geo_pmf
) in order to find the optimal \(k\)
For each \(k\), \(\Delta{k_\text{score}}\) and \(\Delta{\text{Idev}_\text{wmean}}\), respectively
The mutual relative proportionality of curvatures over \(k\) and \(\text{Idev}_\text{wmean}\). The relative proportionality of \(\Delta^{2}{\text{Idev}_\text{wmean}}\) is subtracted from 1 to invert the proportionality. This makes tot_score
the product of the minimum of one curvature and the maximum of the othe (gradient descent is not used to determine the optimal \(k\) because \(k\) is a discrete value.)
The value of \(k\) corresponding to the maximal value of tot_score
The next best \(k\)
Other Signal Processor Functions:
exec_algorithm()
,
geo_pmf()
,
info_encoder()
,
signal_processor()