grnn_weights {tsfgrnn}R Documentation

Training examples and their corresponding weights used in a prediction

Description

It shows the input vector and the weights of the training examples used in a prediction associated with a "grnnForecast" object.

Usage

grnn_weights(forecast)

Arguments

forecast

A grnnForecast object.

Value

A list including the input vectors used in GRNN regression and the training examples, with their weights, used in the prediction.

Examples

pred <- grnn_forecasting(UKgas, h = 4, lags = 1:4, msas = "MIMO")
grnn_weights(pred)

[Package tsfgrnn version 1.0.5 Index]