mygcv1(A,b,l)
版本 1.0.0.0 (382 字节) 作者:
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.
引用格式
Daniel Vasilaky (2024). mygcv1(A,b,l) (https://www.mathworks.com/matlabcentral/fileexchange/66046-mygcv1-a-b-l), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Data Copy Reduction 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |