经典流形学习 ISOMAP算法程序中的一个问题

wzyhappy 2010-12-15 10:43:43
读程序时,有一点看不懂,牛人来瞧瞧,指点指点啊。

在看流形学习的一段经典代码时,遇到的一个问题。 函数如下:

function [Y, R, E] = IsomapII(D, n_fcn, n_size, options);
% ISOMAPII Computes Isomap embedding using an advanced version of
% the algorithm in Tenenbaum, de Silva, and Langford (2000),
% which can take advantage of sparsity in the graph and
% redundancy in the distances.
%
% [Y, R, E] = isomapII(D, n_fcn, n_size, options);
%
% Input:
% D = input-space distances between pairs of N points, which can
% take 1 of 3 forms:
% (1) a full N x N matrix (as in isomap.m)
% (2) a sparse N x N matrix (missing entries are treated as INF)
% (3) the name of a function (e.g. 'd_fun') that takes
% one argument, i, and returns a row vector containng the
% distances from all N points to point i.
%
% n_fcn = neighborhood function ('epsilon' or 'k')
% n_size = neighborhood size (value for epsilon or k)

代码中,提示 n_fcn 是近邻函数,后面的'epsilon' 或'k' 是什么意思,是指函数的类型吗
整个函数开始要求输入参数,这个n_fcn是什么形式,

牛人多帮帮,小弟先谢过了。
...全文
443 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
y516604689 2012-06-05
  • 打赏
  • 举报
回复
那个options是什么意思?怎么定义的
cnmhx 2012-06-05
  • 打赏
  • 举报
回复
% n_fcn = neighborhood function ('epsilon' or 'k')
% n_size = neighborhood size (value for epsilon or k)
十有八九是,你的调用中,这些不匹配。
appleone111 2012-05-27
  • 打赏
  • 举报
回复
为什么这个程序我运行不起,总是报错
fjl123 2010-12-29
  • 打赏
  • 举报
回复
K表示选择K个紧邻点,epsilon表示以epsilon为半径的近邻域,这两个参数都是表示要选择近邻点的范围、数目限制

3,424

社区成员

发帖
与我相关
我的任务
社区描述
其他开发语言 其他开发语言
社区管理员
  • 其他开发语言社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧