added param for controlling downsampling level
fixed score predicting