complete data preprocessing and construct prediction model