This commit is contained in:
Joakim Skogholt 2023-05-13 20:23:38 +02:00
parent e0f2f92138
commit c9224ad9f5

View file

@ -211,7 +211,7 @@ end
The function uses the output from TRLooCV to plot data, PRESS- and GCV-curves, as well as
PRESS- and GCV-minimal regression coefficients.
"""
function PlotTRLooCV(BPRESS, BGCV, TR, press, GCV, idminPRESS, lambdaPRESS, idminGCV, lambdaGCV)
function PlotTRLooCV(lambdas, BPRESS, BGCV, TR, press, GCV, idminPRESS, lambdaPRESS, idminGCV, lambdaGCV)
plta = plot((TR.U * diagm(TR.s) * TR.V' .+ TR.mX)', legend=false)