class

EvolveNet::NeuralNetwork

Inherits JSON::Serializable < EvolveNet::Network < Reference < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

add_layer(type : Symbol, width : Int32, height : Int32, depth : Int32, function : Symbol = :relu)
Source
add_layer(type : Symbol, size : Int32, function : Symbol = :sigmoid)
Source
clone
Source
error
Source
error=(error : Float64)
Source
evaluate(data : Array(Array(Array(Number))))
Source
fully_connect
Source
layers
Source
layers=(layers : Array(Layer))
Source
mutate
Source
punctuate(pos : Int32)
Source
randomize
Source
run(data : Array(Number))
Source