diff --git a/src/train/linear_regression.jl b/src/train/linear_regression.jl index b1fc2c22..f32b6601 100644 --- a/src/train/linear_regression.jl +++ b/src/train/linear_regression.jl @@ -15,7 +15,6 @@ end #default training - OLS function _train(states, target_data, sr::StandardRidge = StandardRidge(0.0)) - typeof(target_data[1])(sr.regularization_coeff) output_layer = ((states * states' + sr.regularization_coeff * I) \ (states * target_data'))' #output_layer = (target_data*states')*inv(states*states'+sr.regularization_coeff*I)