changed Trainer to use Log(score)