plot_brain: Plot brain

Description Usage Arguments Examples

Description

Plot brain architecture.

Usage

1
plot_brain(brain, color = NULL, size = NULL)

Arguments

brain

An object of class brain as returned by brain.

color

Color of neurons, one of state, layer, bias, activation, or old.

size

Size of neurons, one of state, bias, activation, or old.

Examples

1
2
3
brain() %>%
  perceptron(c(2,3,1)) %>%
  plot_brain(size = "bias")

brain-r/brain documentation built on May 21, 2019, 4:05 a.m.