class EvolveNet::Neuron

Included Modules

Defined in:

evolvenet/neuralnetwork.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(function : String) #

[View source]

Instance Method Detail

def activate(value : Number) #

[View source]
def activate(parent : Layer) #

[View source]
def activation : Number #

[View source]
def activation=(activation : Number) #

[View source]
def bias : Float64 #

[View source]
def bias=(bias : Float64) #

[View source]
def clone #

[View source]
def function : String #

[View source]
def function=(function : String) #

[View source]
def mutate(rate : Float64) #

[View source]
def none(value : Number) : Float64 #

[View source]
def punctuate(pos : Int32) #

[View source]
def randomize #

[View source]
def relu(value : Number) : Float64 #

[View source]
def sigmoid(value : Number) : Float64 #

[View source]
def synapses : Array(Synapse) #

[View source]
def synapses=(synapses : Array(Synapse)) #

[View source]
def tanh(value : Number) : Float64 #

[View source]