Classification and regression by combining models