-
K-means algorithm
KMEANS 利用两相的迭代算法来减少点到形心的距离,K 的所有群集的都总和的总和。第一阶段使用文献通常描述作为"批"的更新,每次迭代组成的就是重新分配到他们最近的群集质心点一下子,紧接着簇中心的重新计算。这一阶段可以看作是提供速度快,但可能只有近似解作为起始点,第二阶段。第二阶段使用文献通常描述作为"上线"的更新,在那里点单独重新分配如果这样做会降低的距离,总和和簇中心则在每个重新分配后重新计算。在这第二个阶段的每次迭代包含一通虽然所有的点。KMEANS 可以收敛于局部最优解,在这种情况下是在哪个移动到不同的群集的任何单点增加的距离总和的点的一个分区。这个问题只能是解决了起始点的聪明 (或幸运,或详尽无遗) 的选择。IDX 分为不同的 K 组 = KMEANS (X、 K) 分区 N 由 P 数据矩阵 X 中的点。此分区减少总和,在所有的群集,群集内款项的点到聚类质心的距离。X 行对应于点、 变量对应的列。KMEANS 返回 N 由 1 向量 IDX 包含每个点的聚类指数。默认情况下,KMEANS 使用平方欧氏距离。
- 2023-03-13 10:35:03下载
- 积分:1
-
arbitrary precision strike pi value
求取任意精度pi值-arbitrary precision strike pi value
- 2023-07-08 11:15:03下载
- 积分:1
-
这个程序使用了遗传算法来优化点对点之间的轨迹度量。
这个程序使用了遗传算法来优化点对点之间的轨迹度量。-This code proposes genetic algorithm (GA) to optimize the point-to-point trajectory planning for a 3-link (redundant) robot arm.
- 2022-01-31 01:06:31下载
- 积分:1
-
γ/β函数
Gamma/beta function
- 2022-10-05 10:30:03下载
- 积分:1
-
order issued calculation of photonic crystal band structure, good! !
order发计算光子晶体的能带结构,比较好-order issued calculation of photonic crystal band structure, good! !
- 2022-02-07 21:48:31下载
- 积分:1
-
很简单的程序,可以远程通过MDL laserace300火激光测距仪…
Very simple program that can fire laser rangefinder MDL laserACE300 remotly via rs232 and register output to file - work only with this type and ither my programs can fire many MDL s-Very simple program that can fire laser rangefinder MDL laserACE300 remotly via rs232 and register output to file- work only with this type and ither my programs can fire many MDL s
- 2023-08-06 17:55:03下载
- 积分:1
-
很好的一个C++控制台程序
很好的一个C++控制台程序-good a C Console
- 2022-04-27 02:16:41下载
- 积分:1
-
《python编程金典》书中,所有例子的源代码,可以作为学习本书很好的帮助。...
《python编程金典》书中,所有例子的源代码,可以作为学习本书很好的帮助。
- 2022-01-20 23:48:15下载
- 积分:1
-
gene recombination value calculation
基因重组值的计算-gene recombination value calculation
- 2022-07-02 08:09:54下载
- 积分:1
-
分块五对角线性方程组的求解,比一般追赶法精度更高,并有参数可供调节。...
分块五对角线性方程组的求解,比一般追赶法精度更高,并有参数可供调节。-Sub-diagonal block of five equations, than the average to catch up with higher accuracy, and have parameters available to adjust.
- 2022-06-12 21:14:13下载
- 积分:1