add linear-regression algorithm