
Matlab用于进行回归分析。
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
The function `pls2reg` calculates and returns several key outputs based on provided input data. Specifically, it determines the number of training samples (`ntrn`) and features (`nfea`) from the input matrix `X`. It also identifies the number of response samples (`nres`) associated with the target variable `Y`. If fewer than four input arguments are supplied, the default value for the `premethod` parameter is set to 1. Similarly, if fewer than three input arguments are given, the principal component number (`PC`) is defaulted to 10. This function ultimately provides estimates of both the predicted values (`Yhat`) and the root mean squared error of prediction (`RMSEP`), alongside a matrix containing these results.
全部评论 (0)
还没有任何评论哟~


