sisomap.m
来自「Description: S-ISOMAP is a manifold lear」· M 代码 · 共 15 行
M
15 行
% The data and corresponding class labels are stored in data.mat.
% First load data.mat to make sure the variable 'data' and 'labels' are in
% the workspace. Then culculate the distance matrix. Finally apply the
% Isomap algorithm.
%
% The code for the Isomap algorithm is written by Josh Tenenbaum. See
% details in the comments of 'IsomapII'.
alpha = 0.5;
K = 10;
load data.mat
D=distance(data, labels, alpha);
options.dims = [2];
[Y, R, E] = IsomapII(D, 'k', K, options);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?