Costs and savings#
Costs#
|
Return cost function and its initializer. |
Precompute sums and weights for mean_cost. |
|
|
Calculate the Gaussian mean likelihood cost for each segment. |
Savings#
|
Return saving function and its initializer. |
Precompute sums and weights for mean_saving. |
|
|
Calculate the Gaussian mean likelihood saving for each segment. |