Before training an RNN on a time series, you need to know what "good" means. Two trivial forecasters set that bar:
Implement baseline_forecasts(series, season, horizon) returning a dict with keys "naive" and "seasonal_naive", each a list of horizon floats:
series[-1] repeated horizon timesh (0-based) is series[len(series) - season + (h % season)], so forecasts beyond one season wrap around and repeat the last observed seasonAlso implement mae(y_true, y_pred), the mean absolute error as a float. Assume len(series) >= season >= 1 and horizon >= 1.