资源简介
流形学习算法之一,具有较强的数据挖掘能力,能够用于模式识别。
代码片段和文件信息
function mappedX= LE(X no_dims k sigma)
%LAPLACIAN_EIGEN Performs non-linear dimensionality reduction using Laplacian Eigenmaps
%
% [mappedX mapping] = laplacian_eigen(X no_dims k sigma eig_impl)
%
% Performs non-linear dimensionality reduction using Laplacian Eigenmaps.
% The data is in matrix X in which the rows are the observations and the
% columns the dimensions.
% The reduced data is returned in the matrix mappedX.
if ~exist(‘no_dims‘ ‘var‘)
no_dims = 2;
end
if ~exist(‘k‘ ‘var‘)
k = 12;
end
if ~exist(‘sigma‘ ‘var‘)
sigma = 1;
end
% Construct neighborhood graph
disp(‘Constructing neighborhood graph...‘);
if size(X 1) < 4000
G = squareform(pdist(X ‘euclidean‘));
% Compute neighbourhood graph
[tmp ind] = sort(G);
for i=1:size(G 1)
G(i ind((2 + k):end i)) = 0;
end
G = sparse(double(G));
G = max(G G‘); % Make sure distance matrix i
相关资源
- 基于LEACH算法的改进算法GAF算法
- Leach协议在MATLAB下面仿真的源代码
- Contourlet工具箱
- 无线传感网络的能量控制
- LEACH仿真 簇头 节点存活 系统能耗
- LED8*8点阵驱动
- 经典matlab图像
- Levenberg-Marquardt程序
- yalmip-cplex集成版
- 旋转LED彩色取模
- 粒子滤波算法 matlab
- ContourletMatlab去噪
- matlab 流形学习算法 降维算法 LLE Is
- swiss roll的LLE降维
- Http协议的Delete和Put方法用法
- 读取grib1文件的matleb代码
- NSCT非下采样contoulet变换matlab代码
- Levinson快速递推法估计功率谱
- Leslie人口预测代码
- wavelet.m
- Leslie人口预测模型程序基于MATLAB
- 大家一起讨论一下IEC电压闪变仪的仿
- 三电平逆变电路仿真-Threelevel.mdl
- 2018MCM Problem A 海浪matlab模拟
- OFDM瑞利衰落信道下的MATLAB程序
- MATLAB小波降噪程序
- matlab对矩阵进行LDLT和cholesky分解
- 随机森林工具包RF_MexStandalone-v0.02-pr
- Leslie模型matlab
- MATLAB——使用rectangle命令创建二维矩
评论
共有 条评论