class Aitk::RBF::SimulatedAnnealingTrainer

Defined in:

aitk/rbf/trainers/simulated_annealing_trainer.cr

Constructors

Instance Method Summary

Instance methods inherited from class Aitk::RBF::BaseTrainer

calc_score calc_score, train train

Constructor Detail

def self.new(network, training_set) #

[View source]

Instance Method Detail

def calculate_temperature #

[View source]
def iterate_training #

[View source]
def keep_worse?(current_score, trial_score, temperature) #

It assumes, that trial_score > current_score, otherwise result can be > 1


[View source]
def randomize_memory!(memory, temperature) #

[View source]
def train #

[View source]