mygcv1(A,b,l)
Version 1.0.0.0 (382 Bytes) von
Daniel Vasilaky
Computes Generalized Cross Validation for a given A and b.
Computes Generalized Cross Validation for a given A and b.
You can call it to obtain an optimal lambda as follows:
lambda=fminbnd(@(l)mygcv(A,b,l),.0001,10); % find optimal l in [.0001,10].
Makes much better predictions than Per Christian Hansen's gcv(). try it.
Zitieren als
Daniel Vasilaky (2024). mygcv1(A,b,l) (https://www.mathworks.com/matlabcentral/fileexchange/66046-mygcv1-a-b-l), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R14SP3
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Data Copy Reduction finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |