class Neuron

Defined in:

AI2048/neural_net.cr

Instance Method Summary

Instance Method Detail

def calculate_output #

[View source]
def error : Float64 #

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

[View source]
def output : Float64 #

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

[View source]
def prev_threshold : Float64 #

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

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

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

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

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

[View source]
def threshold : Float64 #

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

[View source]
def train(rate, target) #

[View source]
def train(rate) #

[View source]
def update_weights(rate) #

[View source]