上传者: liu1322022646
|
上传时间: 2021-10-14 13:06:51
|
文件大小: 2KB
|
文件类型: -
function [B, options, Yhat, RMSEP] = pls2reg(X, Y, PC, premethod, XTst, YTst)
[ntrn, nfea] = size(X);
[ntrn, nres] = size(Y);
if nargin < 4
premethod = 1;
end
if nargin < 3
PC = 10;
end