Prediction and dimension reduction methods in computer experiments