资源简介
This is a dimension reduction toolbox developed by Laurens van der Maaten(MISS). You are free to use, modify, or redistribute this software in any way you want, but only for non-commercial purposes. This Matlab toolbox implements 32 techniques for dimensionality reduction. These techniques are all available through the COMPUTE_MAPPING function.

代码片段和文件信息
function [Dnn_list] = compute_nn_distance(Xnbr_nn options)
% compute_nn_distance - compute the distance to the nearest neighbors
%
% [Dnn_list] = compute_nn_distance(Xnbr_nn options);
%
% X is a (dn) set of n points in R^d
% nbr_nn is the number of nearest neighbors to retrieve
%
% D is a (nnbr_nn) matrix of distance D(ij) is distance between point
% X(:i) and point X(nn_list(ij):)
% nn_list(i:) is the set of nearst neighbors
%
% options.use_nntools = 0 force the use of the slow matlab code
% for nearest neighbors computations.
%
% options.exlude_self = 1 to avoid taking a point it self neighbor.
%
% Copyright (c) 2006 Gabriel Peyr?
options.null = 0;
if isfield(options ‘use_nntools‘)
use_nntools = options.use_nntools;
else
use_nntools = 1;
end
if isfield(options ‘exlude_self‘)
exlude_self = options.exlude_self;
else
exlude_self = 0;
end
if nargin<2
nbr_nn = size(X2);
end
if exlude_self==1
nbr_nn = nbr_nn + 1;
end
nbr_nn = min(nbr_nnsize(X2));
if exist(‘nn_prepare‘)>0 && use_nntools
% use fast mex code
atria = nn_prepare(X‘);
[nn_listD] = nn_search(X‘ atria X‘ nbr_nn 0);
else
% use slow matlab code
D1 = sqrt( compute_distance_matrix(X) );
% find closest points
[Dnn_list] = sort(D1);
D = D(1:nbr_nn:)‘;
nn_list = nn_list(1:nbr_nn:)‘;
end
if exlude_self==1
% remove self reference
nn_list = nn_list(:2:end);
D = D(:2:end);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1518 2006-09-08 19:11 toolbox_dimreduc\compute_nn_distance.m
文件 1664 2006-09-08 19:14 toolbox_dimreduc\compute_nn_graph.m
文件 57344 2004-05-03 01:01 toolbox_dimreduc\dijkstra_fast.dll
文件 5717 2005-10-10 02:42 toolbox_dimreduc\hlle.m
文件 3950 2006-05-05 18:26 toolbox_dimreduc\isomap.m
文件 7393 2006-09-08 20:53 toolbox_dimreduc\leigs.m
文件 2477 2006-09-08 19:20 toolbox_dimreduc\lle.m
文件 5834 2006-04-10 23:28 toolbox_dimreduc\load_images_dataset.m
文件 4267 2006-02-05 01:40 toolbox_dimreduc\load_points_set.m
文件 1903 2006-08-24 20:50 toolbox_dimreduc\load_subimages_dataset.m
文件 2653 2006-09-08 20:39 toolbox_dimreduc\ltsa.m
文件 120320 2001-01-16 13:09 toolbox_dimreduc\nn_prepare.dll
文件 1645 2002-01-17 13:04 toolbox_dimreduc\nn_prepare.m
文件 128512 2001-01-16 13:09 toolbox_dimreduc\nn_search.dll
文件 1984 2002-01-17 13:04 toolbox_dimreduc\nn_search.m
文件 7182 2006-08-28 02:41 toolbox_dimreduc\pca.m
文件 1523 2006-08-14 00:20 toolbox_dimreduc\perform_dimreduc_interpolation.m
文件 1254 2006-08-13 20:55 toolbox_dimreduc\perform_geodesic_em
文件 2092 2006-08-28 15:27 toolbox_dimreduc\perform_local_pca.m
文件 1392 2006-08-13 21:54 toolbox_dimreduc\plot_flattened_dataset.m
文件 129024 2001-01-16 13:09 toolbox_dimreduc\range_search.dll
文件 1920 2002-01-17 13:04 toolbox_dimreduc\range_search.m
文件 2505 2006-09-08 21:11 toolbox_dimreduc\readme.txt
文件 793 2006-09-08 21:10 toolbox_dimreduc\test_datasets.m
文件 1464 2006-09-08 21:05 toolbox_dimreduc\test_dimreduc.m
文件 386 2005-10-11 02:26 toolbox_dimreduc\test_display_pointsets.m
文件 1303 2006-09-08 21:07 toolbox_dimreduc\test_images.m
文件 1105 2006-09-08 21:06 toolbox_dimreduc\test_isomap_landmarks.m
文件 876 2006-08-13 21:02 toolbox_dimreduc\test_meshes.m
文件 472 2006-09-08 19:06 toolbox_dimreduc\test_nearest_neighboors.m
............此处省略22个文件信息
- 上一篇:期权蒙特卡洛模拟MATLAB代码
- 下一篇:朴素贝叶斯算法在matlab中实现
相关资源
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
- k近邻算法matlab实现
- matlab识别系统
评论
共有 条评论