Learn R Programming

tsfgrnn (version 1.0.5)

grnn_weights: 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)

Value

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

Arguments

forecast

A grnnForecast object.

Examples

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

Run the code above in your browser using DataLab