plot.mlp: Plot MLP network.

View source: R/plot.net.R

plot.mlpR Documentation

Plot MLP network.

Description

Produces a plot of the MLP network architecture.

Usage

## S3 method for class 'mlp'
plot(x, r = 1, ...)

Arguments

x

MLP network object, produced using mlp.

r

Ensemple member to plot.

...

Unused argument.

Value

None. Function produces a plot.

Note

Neurons are coloured with "lightgrey". Seasonal dummies are coloured with "lightpink" and xreg with "lightblue".

Author(s)

Nikolaos Kourentzes, nikolaos@kourentzes.com

See Also

elm, mlp.

Examples


## Not run: 
 fit <- mlp(AirPassengers)
 print(fit)
 plot(fit)
 frc <- forecast(fit,h=36)
 plot(frc)

## End(Not run)


nnfor documentation built on Nov. 15, 2023, 1:09 a.m.