EvolveNet::NeuralNetwork
Inherits JSON::Serializable < EvolveNet::Network < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
add_layer(type : Symbol, width : Int32, height : Int32, depth : Int32, function : Symbol = :relu)
Sourceadd_layer(type : Symbol, size : Int32, function : Symbol = :sigmoid)
Sourceclone
Sourceerror
Sourceerror=(error : Float64)
Sourceevaluate(data : Array(Array(Array(Number))))
Sourcefully_connect
Sourcelayers
Sourcelayers=(layers : Array(Layer))
Sourcemutate
Sourcepunctuate(pos : Int32)
Sourcerandomize
Sourcerun(data : Array(Number))
Source