Same to linear_regression.jl