class Ai4cr::NeuralNetwork::Cmn::MiniNetManager

Included Modules

Defined in:

ai4cr/neural_network/cmn/mini_net_manager.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Ai4cr::Breed::Manager(Ai4cr::NeuralNetwork::Cmn::MiniNet)

auto_save(team_members, i) auto_save, breed(parent_a : T, parent_b : T, delta = 0.5) breed, breed_counter_tick breed_counter_tick, breed_id_and_delta(child, birth_id, parent_a, parent_b, delta) breed_id_and_delta, breed_validations(parent_a : T, parent_b : T, delta) breed_validations, build_team : Array(T)
build_team(qty_new_members : Int32, **params) : Array(T)
build_team
, copy_and_mix(parent_a, parent_b, delta) copy_and_mix, counter counter, counter_reset(value = 0) counter_reset, create(**params) create, cross_breed(team_members : Array(T)) cross_breed, estimate_better_delta(error_a : Float64, error_b : Float64)
estimate_better_delta(ancestor_a : T, ancestor_b : T)
estimate_better_delta
, eval_team(team_members, inputs) eval_team, eval_team_in_parallel(team_members, inputs) eval_team_in_parallel, eval_team_in_parallel_using_sequence(team_members, inputs_sequence) eval_team_in_parallel_using_sequence, gen_params gen_params, log_before_vs_after(beginning, before, i, i_max, verbose) log_before_vs_after, log_correct_guess_stats(tc_size, i, max_hists, team_members, list, recent_hists, verbose) log_correct_guess_stats, log_summary_info(member, i, j) log_summary_info, mix_nested_parts(parent_a_part, parent_b_part, delta) mix_nested_parts, mix_one_part_number(parent_a_part : Number, parent_b_part : Number, delta) mix_one_part_number, mix_one_part_string(parent_a_part : String, parent_b_part : String, delta) mix_one_part_string, mix_parts(child : T, parent_a : T, parent_b : T, delta) mix_parts, parts_to_copy(parent_a : T, parent_b : T, delta) parts_to_copy, sort_members(team_members) sort_members, sort_purge_replace(max_members, team_members, purge_error_limit, i, tc_size, max_hists, list, recent_hists, verbose) sort_purge_replace, train_team(inputs, outputs, team_members : Array(T), max_members = MAX_MEMBERS_DEFAULT, train_qty = 1, and_cross_breed = true) train_team, train_team_in_parallel(inputs, outputs, team_members, train_qty) train_team_in_parallel, train_team_using_sequence(inputs_sequence, outputs_sequence, team_members : Array(T), io_set_text_file : Ai4cr::Utils::IoData::Abstract | Nil, max_members = MAX_MEMBERS_DEFAULT, train_qty = 1, and_cross_breed = true, purge_error_limit = -1, verbose = true) train_team_using_sequence, update_member_comparisons(io_set_text_file, inputs, outputs, member, tc_size, training_set_seq, mem_seq, verbose) update_member_comparisons, update_member_correct_comparisons(output_str_matches, tc_size, member) update_member_correct_comparisons, update_member_output_comparisons(io_set_text_file, outputs, member) update_member_output_comparisons

Constructor methods inherited from class Ai4cr::Breed::Manager(Ai4cr::NeuralNetwork::Cmn::MiniNet)

new(pull : JSON::PullParser)
new
new

Class methods inherited from class Ai4cr::Breed::Manager(Ai4cr::NeuralNetwork::Cmn::MiniNet)

counter : CounterSafe::Exclusive counter

Constructor Detail

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

[View source]
def self.new #

[View source]

Class Method Detail

def self.counter : CounterSafe::Exclusive #

[View source]

Instance Method Detail

def breed_validations(parent_a : T, parent_b : T, delta) #

[View source]
def mix_parts(child : MiniNet, parent_a : MiniNet, parent_b : MiniNet, delta) #

abstract


[View source]