Compute a rolling mean of x, after first aggregating by h
Right-aligned. Computes a single mean for each unique value of h. Each mean is over at least w samples.
rolling_mean_by_h(x, h, w, name)
x |
Array. |
h |
Array of horizon for each value in x. |
w |
Integer window size (number of elements). |
name |
String name for metric in result dataframe. |
Dataframe with columns horizon and name, the rolling mean of x.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.