add linear_model as a base class
let LinearReg inherit the LinearModel class