Add predict method for bayeslr.