Skip to contents

Construct a data.frame out of the output forecast tensor

Usage

neaten(forecast, data, key, index, lookback, horizon, target, stride)

Arguments

data

A data.frame containing test data

lookback

The length of the context from the past

horizon

The forecast length

target

Target variable(s)

stride

Stride of the moving window

x

An array or tensorflow.tensor containing forecasts