darch (version 0.12.0)

plot.DArch: Plot '>DArch statistics or structure.

Description

This function provides different plots depending on the type parameter:

Usage

# S3 method for DArch
plot(x, y = "raw", ..., type = y)

Arguments

x

'>DArch instance.

y

See type.

...

Additional parameters, passed to plotting functions.

type

Which type of plot to create, one of raw, class, time, momentum, and net.

Value

The plotted graph.

Details

  • raw. Plots the raw network error (e.g. MSE), this is the default

  • class. Plots the classification error

  • time. Plots the times needed for each epoch

  • momentum. Plots the momentum ramp

  • net. Calls plotnet to plot the network

See Also

Other darch interface functions: darchBench, darchTest, darch, predict.DArch, print.DArch

Examples

Run this code
# NOT RUN {
data(iris)
model <- darch(Species ~ ., iris)
plot(model)
plot(model, "class")
plot(model, "time")
plot(model, "momentum")
plot(model, "net")
# }

Run the code above in your browser using DataLab