lsqisotonic(x,y,w)

版本 1.0.0.0 (2.7 KB) 作者: Yun Wang
More efficient implementation of lsqisotonic for mdscale
187.0 次下载
更新时间 2017/11/2

查看许可证

This is a more efficient implementation of the private "lsqisotonic" function for the "mdscale" function in the statistics toolbox, which performs non-metric multi-dimensional scaling.
In non-metric multi-dimensional scaling, one of the steps is to find a monotone regression of the dissimilarities that has the least squared error, which is the what the function "lsqisotonic" does. During this procedure, it is necessary to repeatedly merge adjacent monotone blocks.

The original implementation uses an iterative procedure, which has a complexity of O(n) per iteration, and O(n^2) overall. When n, the number of data points, is large (say, > 1000), the "lsqisotonic" function may be very slow. I replaced it with a non-iterative procedure that has an overall complexity of O(n).

引用格式

Yun Wang (2024). lsqisotonic(x,y,w) (https://www.mathworks.com/matlabcentral/fileexchange/64933-lsqisotonic-x-y-w), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0