activate: Activates a neural network

Description Usage Arguments Value Examples

Description

Activates a neural network

Usage

1
activate(input, nn, act_fun = sigmoid)

Arguments

input

Numerical vector of the same length of the input neurons of the net

nn

Neural Network

act_fun

activation function used

Value

Numerical Vector of the output for the Neural Network

Examples

1
2
3
4
build.nn(2, 1, enable_rate = 1) %>% activate(c(1,1), .)
build.nn(2, 1, 2, enable_rate = 1) %>% activate(c(1,1), .)
build.nn(2, 1, c(2,3), enable_rate = 1) %>% activate(c(1,1), .)
build.nn(2, 2, c(5,5,5), enable_rate = 1) %>% activate(c(1,1), .)

coldfir3/neatr documentation built on May 23, 2019, 4:24 p.m.