-
K-means算法
应用背景c++代码,基于k-means遗传算法的应用,是典型的基于原型的目标函数聚类方法的代表,它是数据点到原型的某种距离作为优化的目标函数,利用函数求极值的方法得到迭代运算的调整规则。其主要是来计算数据聚集的算法,主要通过不断地取离种子点最近均值的算法。关键技术K-Means的算法如下:随机在图中取K(这里K=2)个种子点。然后对图中的所有点求到这K个种子点的距离,假如点Pi离种子点Si最近,那么Pi属于Si点群。(上图中,我们可以看到A,B属于上面的种子点,C,D,E属于下面中部的种子点)接下来,我们要移动种子点到属于他的“点群”的中心。(见图上的第三步)然后重复第2)和第3)步,直到,种子点没有移动(我们可以看到图中的第四步上面的种子点聚合了A,B,C,下面的种子点聚合了D,E)。
- 2022-08-15 16:57:53下载
- 积分:1
-
Can be man
可以人机对弈、双人同机对弈,人机对弈电脑具有较好的人工智能算法,界面美观。开发工具:VC++6.0 和 MFC-Can be man-machine game, double game on the same plane, man-machine chess computer has a good artificial intelligence algorithms, attractive interface. Development Tools: VC++ 6.0 and MFC
- 2022-10-29 03:15:03下载
- 积分:1
-
NTP(net time protocal)英特网时间服务服务器的时间的获取,在linux环境下可以直接运行,取得服务器的时间...
NTP(net time protocal)英特网时间服务服务器的时间的获取,在linux环境下可以直接运行,取得服务器的时间-NTP (net time protocal) Internet Time Service server time to acquire, in the linux environment can be directly run, made the server time
- 2022-02-05 16:05:19下载
- 积分:1
-
印刷电路板的设计布线图设计的基本方法接着,确定印刷电路板所需的尺寸,并按原理图,将各个元器件位置初步确定下来,然后经过不断调整使布局更加合理,印刷电路板中各元件...
印刷电路板的设计布线图设计的基本方法接着,确定印刷电路板所需的尺寸,并按原理图,将各个元器件位置初步确定下来,然后经过不断调整使布局更加合理,印刷电路板中各元件之间的接线安排方式如下:-The design of printed circuit board wiring diagram of the basic methods of design and then to determine the required printed circuit board size, and schematic diagram of the various components to determine the initial position and then continue to adjust after making a more rational layout, printed circuit boards in connection between the components arranged as follows:
- 2022-01-31 07:29:06下载
- 积分:1
-
L7,精灵程序源代码可以编译出来的程序
L7,elf 程序源代码 可以通过编出其他程序-L7, elf program source code can be compiled out of other programs
- 2022-05-27 14:33:56下载
- 积分:1
-
enterprises updated matrix coding
企业编码最新汇总-enterprises updated matrix coding
- 2023-03-19 20:20:03下载
- 积分:1
-
3889 invasion of 3389 vulnerabilities WIN2 input method
3889 入侵 3389漏洞 输入法 WIN2-3889 invasion of 3389 vulnerabilities WIN2 input method
- 2022-02-28 09:08:36下载
- 积分:1
-
建立了一个备用的内存分配方案为toyfdtd1。由翰…
builds an alternate memory allocation scheme into ToyFDTD1. Contributed by John Schneider, it guarantees that the data arrays are contiguous, which the ToyFDTD1 scheme does not. Released 6 December, 1999.
- 2022-03-17 13:21:54下载
- 积分:1
-
该程序实现的是种子生命的模拟,生存:有两个或三个邻居的种子将存活到下一代,即仍然占据该格子;
死亡:如果有四个或更多的邻居,种子将因为过度拥挤而死亡;如果种...
该程序实现的是种子生命的模拟,生存:有两个或三个邻居的种子将存活到下一代,即仍然占据该格子;
死亡:如果有四个或更多的邻居,种子将因为过度拥挤而死亡;如果种子只有一个或零个邻居,将因为孤独而死亡;
繁殖:如果一个空格子有三个邻居,那么将会长出一粒新种子。一种模式在经过若干代之后有以下四种可能的结局之一:
消亡;
不变――静态;
振荡――在一组模式间循环多次后在相同的位置出现相同的模式;
滑动――在一组模式间循环多次后在不同的位置出现相同的模式。该程序允许用户指定初始的模式或计算机自动创建初始的模式;
显示进化的过程,即历代模式;
当模式消亡就停止进化,或者提示用户是否继续显示下一代,或开始新的案例,抑或退出。
-The program implementation is the seed of life simulation, survival: There are two or three neighbors of the seed will survive to the next generation, that is still occupying the lattice
Death: If there are four or more neighbors, the seeds will die because of overcrowding if seed is only one or zero neighbors, will die because of loneliness
Breeding: If a sub-space has three neighbors, then it will grow a new seed. After a pattern after several generations have the following one of four possible outcomes:
Die
Constant- static
Oscillation- a group of modes in the loop on many occasions in the same location after the same pattern emerged
Sli
- 2022-03-25 01:15:01下载
- 积分:1
-
proteus上的双稳态电路模型,用作单键开关信号控制已应用于多个电路中...
proteus上的双稳态电路模型,用作单键开关信号控制已应用于多个电路中
-proteus the bistable circuit model for 1-touch switching signal control has been applied to a number of circuit
- 2022-03-22 03:08:20下载
- 积分:1