get_gate: Create an signal graph model of a multi-layer perceptron...

Description Usage Arguments Value

Description

Creates an signal graph model of a multi-layer perceptron logic gate. The signal graph weights are not fit. This is used primarily for experiments.

Usage

1
get_gate(outputs = "all", layers = NULL)

Arguments

outputs

character vector describing the desired gates. Defaults to "all", in which case (AND, OR, NAND, NOR, XOR, and XNOR) are the outputs. Otherwise any subset of these will work.

layers

a numeric vector where each element corresponds to a layer, and the value of an element is the number of hidden nodes in the layer. Default is NULL. If value is null, no hidden layers will be present (just an input and output layer).

Value

a signal graph model object with unfit weights


robertness/signalgraph documentation built on May 27, 2019, 10:33 a.m.