11-12-2017 02:53 PM
Hi there,
I should create a programm carrying out Holt's exponential smoothing for a raw data (https://en.wikipedia.org/wiki/Exponential_smoothing#Optimization). I've managed to create a block diagram for the case when parameters alpha 1 and 2 is entered by a user, yet the next step is to make up a program calculating alphas itself by optimizing an objective function (SSE, the sum of (y-y')^2, y - raw data, y' - data by smoothing).
I tried to use Optimization VIs, but there's no result, since in all cases there must be the model described, and I haven't a clue how to make a description.
There is a snippet attached, but it's a little cluttered, sorry for it.
11-13-2017 03:16 AM
The top loop can be optimized/removed be replacing it with Array subset and a Subtract, no loop needed. For the bottom loop i have no suggestions right now. 🙂
/Y
11-13-2017 03:18 AM - edited 11-13-2017 03:19 AM