propagate: Propagate

Description Usage Arguments Examples

Description

Propagate error.

Usage

1
propagate(brain, ..., rate, data = NULL, name = "net")

Arguments

brain

An object of class brain as returned by brain.

...

Bare column name of input.

rate

Learning rate.

data

A data.frame.

name

Name of element to activate net is the network/brain, you can also activate individual neuron.

Examples

1
2
3
4
5
6
7
8
test <- dplyr::tibble(
  y = c(2,4,6)
)

# gate
brain() %>%
  neuron("A", squash_function("tanh"), .3) %>%
  propagate(y, rate = .3, data = test, name = "A")

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