资源简介
局部保持映射(LPP)是由何晓飞提出的一种用于降维的流型学习算法,它是一种线性的算法。

代码片段和文件信息
function [eigvector eigvalue Y] = LPP(X W options)
% LPP: Locality Preserving Projections
%
% [eigvector eigvalue] = LPP(X W options)
%
% Input:
% X - Data matrix. Each row vector of fea is a data point.
% W - Affinity matrix. You can either call “constructW“
% to construct the W or construct it by yourself.
% options - Struct value in Matlab. The fields in options
% that can be set:
% ReducedDim - The dimensionality of the
% reduced subspace. If 0
% all the dimensions will be
% kept. Default is 0.
% PCARatio - The percentage of principal
% component kept in the PCA
% step. The percentage is
% calculated based on the
% eigenvalue. Default is 1
% (100% all the non-zero
% eigenvalues will be kept.
% Output:
% eigvector - Each column is an embedding function for a new
% data point (row vector) x y = x*eigvector
% will be the embedding result of x.
% eigvalue - The eigvalue of LPP eigen-problem. sorted from
% smallest to largest.
%
%
% [eigvector eigvalue Y] = LPP(X W options)
%
% Y: The embedding results Each row vector is a data point.
% Y = X*eigvector
%
%
% Examples:
%
% fea = rand(5070);
% options = [];
% options.Metric = ‘Euclidean‘;
% options.NeighborMode = ‘KNN‘;
% options.k = 5;
% options.WeightMode = ‘HeatKernel‘;
% options.t = 1;
% W = constructW(feaoptions);
% options.PCARatio = 0.99
% [eigvector eigvalue Y] = LPP(fea W options);
%
%
% fea = rand(5070);
% gnd = [ones(101);ones(151)*2;ones(101)*3;ones(151)*4];
% options = [];
% options.Metric = ‘Euclidean‘;
% options.NeighborMode = ‘Supervised‘;
% options.gnd = gnd;
% options.bLDA = 1;
% W = constructW(feaoptions);
% options.PCARatio = 1;
% [eigvector eigvalue Y] = LPP(fea W options);
%
%
% Note: After applying some simple algebra the smallest eigenvalue problem:
% X^T*L*X = \lemda X^T*D*X
% is equivalent to the largest eigenvalue problem:
% X^T*W*X = \beta X^T*D*X
% where L=D-W; \lemda= 1 - \beta.
% Thus the smallest eigenvalue problem can be transformed to a largest
% eigenvalue problem. Such tr
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5487 2014-07-14 16:25 LPP.m
----------- --------- ---------- ----- ----
5487 1
相关资源
- 非线性渗流下的油井产量计算
- 非相对论弦论中非线性西格玛模型的
- 纠缠熵探测具有指数非线性电动力学
- 具有非线性电动力学的高维全息超导
- 非线性电动力学对铜价奇特金属的反
- 非线性高自旋方程的0形区的电流相互
- 具有指数非线性电动力学的一维反向
- 大规模M2膜理论的全息术:非线性扩展
- 非线性电动力学的膜范例和全息直流
- 具有非线性电动力学的Lifshitz黑洞中铁
- 非线性电动力学全息超导体的非平衡
- 具有非线性电动力学的全息顺磁性-铁
- 全息的非线性兰格文动力学
- 遗传算法的堆石料非线性本构模型参
- 简单二阶互联系统的非线性动力学分
- 基于非线性跨模态哈希的视频检索
- 利用GRG解一类非线性二层规划
- ANSYS+13.0LS-DYNA非线性有限元分析指..
- 非线性系统观测器的设计:LMI方法论
- 光波导理论与技术 李玉权 崔敏
- 非齐次非线性Schrodinger方程爆破解的
- 干扰观测器 陈文华.pdf
- 论文研究 - 非线性旋转子作为暗物质
- 论文研究 - 骨密度的非线性有限元分
- 聚乳酸/蒙脱土纳米复合材料的非线性
- 三阶非线性项的耦合标量场方程的精
- 转子碰摩系统的非线性数值分析
- 1000MW火电机组凝结水节流系统动态模
- 一种含转动副间隙多连杆机构非线性
- 计算方法丛书 非线性方程组的数值解
评论
共有 条评论