Skip to content

Commit

Permalink
Merge pull request #190 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Fix master
  • Loading branch information
ChrisRackauckas committed Dec 26, 2023
2 parents 3766b6f + 4d7c3da commit bc1f0cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/train/linear_regression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc1f0cc

Please sign in to comment.