
McCulloch-Pitts neuron (Geron Ch 9, morie.fn hmbnm)
Source:R/geron_ml_native.R
morie_geron_biological_neuron.Rda = phi(w . x + b); phi in step, sign, sigmoid, tanh, relu, identity.
Examples
morie_geron_biological_neuron(x = c(1, 2, 3, 4, 5, 6, 7, 8), w = c(1, 2, 3, 4, 5, 6, 7, 8), b = 5L)
#> $a
#> [1] 1
#>
#> $z
#> [1] 209
#>
#> $fires
#> [1] TRUE
#>
#> $threshold
#> [1] -5
#>
#> $activation
#> [1] "step"
#>
#> $estimate
#> [1] 1
#>
#> $n
#> [1] 1
#>
#> $method
#> [1] "McCulloch-Pitts neuron a = phi(w.x + b)"
#>