• 大小: 1.62MB
    文件类型: .rar
    金币: 2
    下载: 0 次
    发布日期: 2023-09-02
  • 语言: 其他
  • 标签: spa  

资源简介

连 续 投 影 算 法(SPA)是 一 种 使 矢 量 空 间 共 线 性最小化的前向变量选择算法, 它的优势在于提取全波段的几个特征波长, 能够消除原始光谱矩阵中冗余的信息,可用于光谱特征波长的筛选。

资源截图

代码片段和文件信息

function chain = projections_qr(XkM)

% Projections routine for the Successive Projections Algorithm using the
% built-in QR function of Matlab
%
% chain = projections(XkM)
%
% X --> Matrix of predictor variables (# objects N x # variables K)
% k --> Index of the initial column for the projection operations
% M --> Number of variables to include in the chain
%
% chain --> Index set of the variables resulting from the projection operations

X_projected = X;

norms = sum(X_projected.^2);    % Square norm of each column vector
norm_max = max(norms); % Norm of the “largest“ column vector

X_projected(:k) = X_projected(:k)*2*norm_max/norms(k); % Scales the kth column so that it becomes the “largest“ column

[dummy1dummy2order] = qr(X_projected0); 
chain = order(1:M)‘;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      26624  2012-11-28 21:42  连续投影算法\instructions.doc

     文件        803  2012-11-28 21:42  连续投影算法\projections_qr.m

     文件       4500  2012-11-28 21:42  连续投影算法\spa.m

     文件       9552  2012-11-28 22:04  连续投影算法\spa2.fig

     文件        988  2012-11-28 21:42  连续投影算法\statistical_prediction_error.m

     文件       1133  2012-11-28 21:42  连续投影算法\validation.m

     文件       1219  2012-11-28 21:42  连续投影算法\validation_metrics.m

     文件    2379264  2012-11-28 21:42  连续投影算法\读书报告04 (刘飞-09.11.04).ppt

     目录          0  2017-12-09 16:32  连续投影算法

----------- ---------  ---------- -----  ----

              2424083                    9


评论

共有 条评论