class Ai4cr::NeuralNetwork::Cmn::MiniNet
- Ai4cr::NeuralNetwork::Cmn::MiniNet
- Reference
- Object
Included Modules
- Ai4cr::Breed::Client
- Ai4cr::NeuralNetwork::Cmn::MiniNetConcerns::CalcGuess
- Ai4cr::NeuralNetwork::Cmn::MiniNetConcerns::PropsAndInits
- Ai4cr::NeuralNetwork::Cmn::MiniNetConcerns::TrainAndAdjust
- JSON::Serializable
Defined in:
ai4cr/neural_network/cmn/mini_net.crConstructors
Class Method Summary
Instance Method Summary
Instance methods inherited from module Ai4cr::NeuralNetwork::Cmn::MiniNetConcerns::TrainAndAdjust
calculate_error_distance
calculate_error_distance,
derivative_propagation_function
derivative_propagation_function,
guesses_best
guesses_best,
init_net_re_train
init_net_re_train,
input_deltas
input_deltas,
input_deltas=(input_deltas)
input_deltas=,
last_changes
last_changes,
last_changes=(last_changes)
last_changes=,
load_outputs_deltas(outputs_deltas)
load_outputs_deltas,
load_outputs_expected(outputs_expected)
load_outputs_expected,
output_deltas
output_deltas,
output_deltas=(output_deltas)
output_deltas=,
output_errors
output_errors,
output_errors=(output_errors)
output_errors=,
outputs_expected
outputs_expected,
outputs_expected=(outputs_expected)
outputs_expected=,
set_deriv_scale_prelu(scale)
set_deriv_scale_prelu,
step_backpropagate
step_backpropagate,
step_calc_input_deltas
step_calc_input_deltas,
step_calc_output_errors
step_calc_output_errors,
step_calculate_output_deltas
step_calculate_output_deltas,
step_load_chained_outputs_deltas(outputs_deltas)
step_load_chained_outputs_deltas,
step_load_outputs(outputs_expected)
step_load_outputs,
step_update_weights(parallel = false)
step_update_weights,
step_update_weights_v1
step_update_weights_v1,
step_update_weights_v2
step_update_weights_v2,
train(inputs_given, outputs_expected, until_min_avg_error = UNTIL_MIN_AVG_ERROR_DEFAULT)
train
Instance methods inherited from module Ai4cr::NeuralNetwork::Cmn::MiniNetConcerns::CalcGuess
bias_default
bias_default,
bias_default=(bias_default)
bias_default=,
bias_disabled
bias_disabled,
bias_disabled=(bias_disabled)
bias_disabled=,
deriv_scale : Float64
deriv_scale,
deriv_scale=(deriv_scale : Float64)
deriv_scale=,
eval(inputs_given)
eval,
guesses_as_is
guesses_as_is,
guesses_best
guesses_best,
guesses_bottom_n(n = @outputs_guessed.size)
guesses_bottom_n,
guesses_ceiled
guesses_ceiled,
guesses_rounded
guesses_rounded,
guesses_sorted
guesses_sorted,
guesses_top_n(n = @outputs_guessed.size)
guesses_top_n,
height
height,
height_considering_bias
height_considering_bias,
height_indexes
height_indexes,
init_net_re_guess
init_net_re_guess,
init_net_re_structure
init_net_re_structure,
inputs_given
inputs_given,
inputs_given=(inputs_given)
inputs_given=,
learning_rate : Float64
learning_rate,
learning_rate=(learning_rate : Float64)
learning_rate=,
learning_styles
learning_styles,
learning_styles=(learning_styles)
learning_styles=,
load_inputs(inputs_given)
load_inputs,
momentum : Float64
momentum,
momentum=(momentum : Float64)
momentum=,
outputs_guessed
outputs_guessed,
outputs_guessed=(outputs_guessed)
outputs_guessed=,
propagation_function
propagation_function,
step_calc_forward
step_calc_forward,
step_load_inputs(inputs_given)
step_load_inputs,
validate_inputs(inputs, height_expected)
validate_inputs,
validate_outputs(outputs, width_expected)
validate_outputs,
weight_init_scale : Float64
weight_init_scale,
weight_init_scale=(weight_init_scale : Float64)
weight_init_scale=,
weights
weights,
weights=(weights)
weights=,
width
width,
width_indexes
width_indexes
Instance methods inherited from module Ai4cr::NeuralNetwork::Cmn::MiniNetConcerns::PropsAndInits
config
config,
init_network
init_network,
structure
structure
Constructor methods inherited from module Ai4cr::NeuralNetwork::Cmn::MiniNetConcerns::PropsAndInits
new(height = 2, width = 2, learning_styles : LearningStyle = LEARNING_STYLES_DEFAULT, deriv_scale = Ai4cr::Utils::Rand.rand_excluding(scale: 0.5), bias_disabled = false, bias_default = 1.0, learning_rate : Float64 | Nil = nil, momentum : Float64 | Nil = nil, history_size : Int32 = 10, name : String | Nil = "", weight_init_scale = 1.0)
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
Class Method Detail
def self.config_rand(name : String = Time.utc.to_s, height : Int32 = 2, width : Int32 = 2, learning_styles : LearningStyle = LEARNING_STYLES_DEFAULT, bias_disabled = false, history_size = 10)
#