-
BruteSearch
K-nearest neighbors 搜索 聚类时经常使用的一种方法 国外网站转载( The following utilities are provided:
- Nearest neighbor
- K-Nearest neighbors
- Radius Search
They al supports N-dimensions and work on double, it is possible to choose if return the distances.
Here is a time comparison with a vectrized m-code:
N=1000000 number of reference points
Nq=100 number of query points
dim=3 dimension of points
k=3 number of neighbor
tic
[idc,dist]=BruteSearchMex(p ,qp , k ,k) MEX
toc
tic
[idc,dist]=knnsearch(qp,p,k) VECTORIZED M-CODE
toc
p=rand(N,dim)
qp=rand(Nq,dim)
Output:
Elapsed time is 0.962640 seconds.
Elapsed time is 18.813100 seconds. )
- 2009-03-30 08:08:08下载
- 积分:1
-
GAexperiment
遗传算法matlab程序,注释详细,适合于初学者学习,采用灾变法避免算法陷入局部最优解(matlab code for genetic algorithm)
- 2009-03-30 14:44:25下载
- 积分:1
-
Flow-chart
粒子群优化算法的详细算法流程,流程图的形式展现。(Particle swarm optimization algorithm with the algorithm process, to show the form of a flowchart.)
- 2014-10-24 12:49:00下载
- 积分:1
-
multi-ctp1
一个基于阈值的粒子比较准则,用于处理多目标约束优化问题,该准则可以保留一部分序值较小且约束违反度在允许范围内的不可行解微粒,从而达到由不可行解向可行解进化的目的;一个新的拥挤度函数,使得位于稀疏区域和Pareto前沿边界附近的点有较大的拥挤度函数值,从而被选择上的概率也较大 从而构成解决多目标约束优化问题的混合粒子群算法。(A comparison based on the threshold criteria for the particle to handle multi-objective constrained optimization problem, part of the guidelines can keep order value is small and the constraint violation in allowing infeasible solutions within the particles, so as to achieve a feasible solution to the infeasible solution The purpose of evolution a new function of crowding, making the Pareto front in the sparse region and near the border points have a greater value of the congestion function, which is the larger the probability of selection so as to constitute solve multi-objective constrained optimization problems hybrid particle swarm algorithm.)
- 2010-11-06 12:50:52下载
- 积分:1
-
ch2
MATLAB高级讲义2(矩阵与向量的乘积,绘制单位圆,图形文字标示命令的使用,图形分割命令的使用等)(MATLAB Advanced Materials 2 (matrix and vector product, mapping the unit circle, graphics commands the use of the word mark, graphics, order the use of segmentation, etc.))
- 2008-08-17 17:35:53下载
- 积分:1
-
Math1
this matlab source code is basic
- 2013-01-28 07:25:35下载
- 积分:1
-
inverse
this function used to calculate MATRIX INVERSE
- 2012-10-03 22:31:32下载
- 积分:1
-
BP
说明: 人工神经网络BP算法的MATLAB实现--源代码(Artificial neural network BP algorithm MATLAB implementation- the source code)
- 2009-10-05 21:03:42下载
- 积分:1
-
LBG
LBG vector quantizer
- 2014-11-06 03:07:02下载
- 积分:1
-
Matlab_files.m
Matlab programs: A pendulum is a weight suspended from a pivot so that it can swing freely.
SNR-Signal-to-noise ratio (often abbreviated SNR or S/N) is a measure used in science and engineering that compares the level of a desired signal to the level of background noise.
- 2013-12-19 23:24:47下载
- 积分:1