# File lib/ai4r/som/two_phase_layer.rb, line 54 def radius_decay(epoch) if epoch > @phase_one return 1 else if (epoch % @radius_reduction) == 0 @radius -= 1 end @radius end end