Skip to content

Commit

Permalink
Fix master
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Dec 26, 2023
1 parent 3766b6f commit 4d7c3da
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 4d7c3da

Please sign in to comment.