class Ai4cr::NeuralNetwork::Rnn::RnnSimple

Included Modules

Defined in:

ai4cr/neural_network/rnn/rnn_simple.cr

Constructors

Instance Method Summary

Instance methods inherited from module Ai4cr::NeuralNetwork::Rnn::RnnSimpleConcerns::DataUtils

float_to_state_values(values, to_min_i = 0, to_max_i = 20, from_min = -1.0, from_max = 1.0) float_to_state_values, indexes_for_training_and_eval(training_data) : RnnTrainingIndexes indexes_for_training_and_eval

Instance methods inherited from module Ai4cr::NeuralNetwork::Rnn::RnnSimpleConcerns::RollUps

all_error_distance_radius all_error_distance_radius, all_error_distances all_error_distances, all_mini_net_input_deltas all_mini_net_input_deltas, all_mini_net_inputs_given all_mini_net_inputs_given, all_mini_net_last_changes all_mini_net_last_changes, all_mini_net_momentum all_mini_net_momentum, all_mini_net_output_deltas all_mini_net_output_deltas, all_mini_net_outputs all_mini_net_outputs, all_mini_net_weights all_mini_net_weights, all_output_errors all_output_errors

Instance methods inherited from module Ai4cr::NeuralNetwork::Rnn::RnnSimpleConcerns::TrainAndAdjust

all_output_errors all_output_errors, calculate_error_distance calculate_error_distance, final_li_output_error_distances final_li_output_error_distances, output_set_expected output_set_expected, train(input_set_given, output_set_expected, until_min_avg_error = UNTIL_MIN_AVG_ERROR_DEFAULT) train

Instance methods inherited from module Ai4cr::NeuralNetwork::Rnn::RnnSimpleConcerns::CalcGuess

bias_default : Float64 bias_default, bias_default=(bias_default : Float64) bias_default=, bias_disabled bias_disabled, bias_disabled=(bias_disabled) bias_disabled=, deriv_scale : Float64 deriv_scale, deriv_scale=(deriv_scale : Float64) deriv_scale=, errors errors, eval(input_set_given) eval, guesses_ceiled guesses_ceiled, guesses_sorted guesses_sorted, guesses_top_n(n) guesses_top_n, hidden_layer_qty hidden_layer_qty, hidden_size hidden_size, hidden_size_given hidden_size_given, input_set_given input_set_given, input_size input_size, inputs_for(li, ti) inputs_for, io_offset io_offset, learning_rate : Float64 learning_rate, learning_rate=(learning_rate : Float64) learning_rate=, learning_styles learning_styles, learning_styles=(learning_styles) learning_styles=, mini_net_set mini_net_set, mini_net_set=(mini_net_set) mini_net_set=, momentum : Float64 momentum, momentum=(momentum : Float64) momentum=, node_input_sizes node_input_sizes, node_input_sizes=(node_input_sizes) node_input_sizes=, node_output_sizes node_output_sizes, node_output_sizes=(node_output_sizes) node_output_sizes=, output_size output_size, outputs_guessed outputs_guessed, synaptic_layer_index_last synaptic_layer_index_last, synaptic_layer_indexes synaptic_layer_indexes, synaptic_layer_indexes_reversed synaptic_layer_indexes_reversed, synaptic_layer_qty synaptic_layer_qty, time_col_index_last time_col_index_last, time_col_indexes time_col_indexes, time_col_indexes_reversed time_col_indexes_reversed, time_col_qty time_col_qty, valid valid, weight_init_scale : Float64 weight_init_scale, weight_init_scale=(weight_init_scale : Float64) weight_init_scale=

Instance methods inherited from module Ai4cr::NeuralNetwork::Rnn::RnnSimpleConcerns::PropsAndInits

calc_node_input_sizes calc_node_input_sizes, calc_node_output_sizes calc_node_output_sizes, calc_synaptic_layer_indexes calc_synaptic_layer_indexes, calc_time_col_indexes calc_time_col_indexes, config config, init_mini_net_set init_mini_net_set, init_network(hidden_size_given, bias_disabled, bias_default, learning_rate, momentum, deriv_scale) init_network, init_network_config(hidden_size_given, bias_disabled, bias_default, learning_rate, momentum, deriv_scale) init_network_config, init_network_mini_net_set init_network_mini_net_set, valid? valid?, validate! validate!

Constructor methods inherited from module Ai4cr::NeuralNetwork::Rnn::RnnSimpleConcerns::PropsAndInits

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) new

Instance methods inherited from module Ai4cr::Breed::Client

birth_id : Int32 birth_id, birth_id=(birth_id : Int32) birth_id=, breed_delta : Float64 breed_delta, breed_delta=(breed_delta : Float64) breed_delta=, clone clone, error_hist_stats(in_bw = false) error_hist_stats, error_stats error_stats, error_stats=(error_stats) error_stats=, history_size history_size, name : String name, name=(name : String) name=, parent_a_id : Int32 parent_a_id, parent_a_id=(parent_a_id : Int32) parent_a_id=, parent_b_id : Int32 parent_b_id, parent_b_id=(parent_b_id : Int32) parent_b_id=

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]