class DeepNetwork

Defined in:

AI2048/deep_net.cr

Constructors

Instance Method Summary

Instance methods inherited from class NeuralNetwork

tuning(by targets) tuning

Instance methods inherited from module ApproxFunc

eval(input) eval, parameter_size parameter_size, parameters(&block : Float64 -> ) parameters, update_parameters(&block : Float64 -> Float64) update_parameters

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def eval(inputs : Iterator) #

[View source]
def eval(inputs) #

[View source]
def hidden_layers : StaticArray(StaticArray(Neuron, 16), 9) #

[View source]
def input_layer : StaticArray(Neuron, 16) #

[View source]
def output_layer : StaticArray(Neuron, 1) #

[View source]
def parameter_size #

[View source]
def parameters(&) #

[View source]
def tuning(by targets) #

[View source]
def update_parameters(&) #

[View source]