KED Toolbox for Matlab 使用

2018-05-10  本文已影响0人  李彪_哈工大

原始的程序页面 https://www.ics.uci.edu/~ihler/code/kde.html

但这个code的维护在2007年就停止了。
如果你还是想用这个,以下内容供参考

使用KED Toolbox

  1. Download and unzip the KDE class to a directory called <tt>@kde</tt>.

  2. (通常都需要先做Compile) Compile the MEX functions.

Thanks to Ankur Datta for compiling Mac versions of the MEX files and making them available. (I do not even own a Mac and cannot vouch for their operation, etc.; use at your own risk.)

NOTE: MS Visual C++ has a bug in dealing with "static const" variables; I think there is a patch available, or you can change these to #defines.

Operate from the class' parent directory, or add it to your MATLAB path (e.g. if you unzip to "myhome/@kde", cd in matlab to the "myhome" dir, or add it to the path.)

一个新的toolbox

对上述code在2014R中compile时的bug做了处理,推荐使用
https://github.com/devkicks/KDEMaltab

The repositories contain code from [Kernel Density Estimation Toolbox for Matlab (R13)] http://www.ics.uci.edu/~ihler/code/kde.html

A number of bugs related to compiling the code on Windows with Matlab 2014b and Visual Studio 2010 have been fixed in this repo as well as the mex files have been pre-compiled for Matlab 2014b and Visual Studio 2010 on Windows 7.

This fix include:

上一篇 下一篇

猜你喜欢

热点阅读