lib/lightgbm.rb in lightgbm-0.3.3 vs lib/lightgbm.rb in lightgbm-0.3.4

- old
+ new

@@ -143,10 +143,10 @@ num_boost_round.times do |iteration| boosters.each(&:update) scores = {} - boosters.map(&:eval_valid).map(&:reverse).flatten(1).each do |r| + boosters.map(&:eval_valid).flat_map(&:reverse).each do |r| (scores[r[1]] ||= []) << r[2] end message_parts = ["[#{iteration + 1}]"]