added trimming to holdout predictions