read LinearRegressionModel code