- fix: handle errors thrown by the linear regression routine