HF RL Explorer

Rolling/Moving Average Implementation with NumPy

Rolling/Moving Average Implementation with NumPy: a task in Terminal-Lego-15k (Harbor dataset). Implement a Python function that calculates a rolling (moving) average using NumPy. The moving average is a common technique in time-series analysis where each output value is the average of a…

The task

Implement a Python function that calculates a rolling (moving) average using NumPy. The moving average is a common technique in time-series analysis where each output value is the average of a fixed-size window of input values.

Part of PrimeIntellect/Terminal-Lego-15k.