cap prediction values into [min, max]
Merge pull request #136 from hupili/fix-als-bound

cap prediction values into [min, max]