architecture: Architecture

Description Usage Arguments Functions Note See Also Examples

Description

Define architecture.

Usage

1
2
3
4
5
6
7

Arguments

brain

An object of class brain as returned by brain.

layers

A single integer or a vector of integer specifying the size of each layer.

input, pool, output

The size as an integer.

connections

Number of random connections.

gates

Number of random gates amongst the connections.

Functions

Note

Hopfield is trained and ran with different functions, see hopfield.

See Also

squash to set activation functions.

Examples

1
2
brain() %>%
  perceptron(c(2,3,1))

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