grnn_weights: Training examples and their corresponding weights used in a...

View source: R/forecasting.R

grnn_weightsR 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)

tsfgrnn documentation built on March 31, 2023, 8:20 p.m.