module Ai4cr::NeuralNetwork::Rnn::RnnSimpleConcerns::PropsAndInits

Direct including types

Defined in:

ai4cr/neural_network/rnn/rnn_simple_concerns/props_and_inits.cr

Constant Summary

HIDDEN_LAYER_QTY_MIN = 1
HISTORY_SIZE_DEFAULT = 10
INPUT_SIZE_MIN = 2
IO_OFFSET_DEFAULT = 1
LEARNING_STYLES_DEFAULT = [LS_RELU]
OUTPUT_SIZE_MIN = 1
TIME_COL_QTY_MIN = 2

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String | Nil = "", history_size : Int32 | Nil = HISTORY_SIZE_DEFAULT, io_offset = IO_OFFSET_DEFAULT, time_col_qty = TIME_COL_QTY_MIN, input_size = INPUT_SIZE_MIN, output_size = OUTPUT_SIZE_MIN, hidden_layer_qty = HIDDEN_LAYER_QTY_MIN, hidden_size_given = 0, learning_styles : Array(LearningStyle) = LEARNING_STYLES_DEFAULT, bias_disabled = false, bias_default = 1.0, learning_rate : Float64 | Nil = nil, momentum : Float64 | Nil = nil, deriv_scale : Float64 | Nil = nil, weight_init_scale_given : Float64 | Nil = nil) #

[View source]

Instance Method Detail

def calc_node_input_sizes #

[View source]
def calc_node_output_sizes #

[View source]
def calc_synaptic_layer_indexes #

[View source]
def calc_time_col_indexes #

[View source]
def config #

[View source]
def init_mini_net_set #

[View source]
def init_network(hidden_size_given, bias_disabled, bias_default, learning_rate, momentum, deriv_scale) #

[View source]
def init_network_config(hidden_size_given, bias_disabled, bias_default, learning_rate, momentum, deriv_scale) #

[View source]
def init_network_mini_net_set #

[View source]
def valid? #

[View source]
def validate! #

[View source]