-
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
-
这个是AT8XC51SND1C的各个技术芯片资料
这个是AT8XC51SND1C的各个技术芯片资料-This is AT8XC51SND1C various technical chip information
- 2022-11-24 03:50:03下载
- 积分:1
-
工业系统中的循环闪烁程序,用与全自动化洗衣机
工业系统中的循环闪烁程序,用与全自动化洗衣机-system of the industrial cycle scintillation procedures, and use of the fully automated washing machine
- 2022-06-28 10:53:50下载
- 积分:1
-
通过分析程序开发
Embedded vc++下开发的路经分析程序-developed under the passing analysis program
- 2022-08-04 08:13:04下载
- 积分:1
-
DS-2CD866MF-EC SDK开发包及DEMO及相关开发说明-DS-2CD866MF-EC SDK DEMO
- 2022-09-09 07:40:03下载
- 积分:1
-
基本操作的基本操作是四大操作,符号…
浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较,以及浮点数分柝等。 包含头文件 "fn.hpp" #include "fn.hpp" 浮点数基本运算 浮点数的基本运算中有加、减、乘、除、取负、绝对值、相等比较等。 加减乘除 加、减、乘、除四个运算极为相似,都是需要两个参数,结果当然也是浮点数了。 例子: // 加 减 乘 除 btil::fn::plus::value // f1+f2 的结果 btil::fn::minus::value // f1-f2 的结果 btil::fn::multiplies::value // f1*f2 的结果 btil::fn::divides::value // f1/f2 的结果 plus::value::f_val // f1+f2 的结果的值 struct one { static const double f_val = 1.0 } // 两个浮点数 struct two { static const double f_val = 2.0 } minus::value::f_val == 0.5 取负 取负运算就是取一个浮点数的负数。-float basic operations of the basic operations are four major operations, symbols, sizes, and float-watchman"s rattle so. The first document contains "fn.hpp"# include "fn.hpp" float float basic operations of the basic operations are, plus or minus, riding, except from negative, in absolute terms, a comparison of the same. The a
- 2022-05-22 17:45:03下载
- 积分:1
-
用汇编语言写得一个小程序,可以播放mp3,avi等多媒体文件.源代码在txt文件里面...
用汇编语言写得一个小程序,可以播放mp3,avi等多媒体文件.源代码在txt文件里面-written in assembly language using a small program that can play MP3, avi and other multimedia files. The source code inside the txt file
- 2023-08-20 20:20:03下载
- 积分:1
-
ddddfafafafafaf
练习功能 练习功能 练习功能 -ddddfafafafafaf
- 2022-01-26 00:38:54下载
- 积分:1
-
VB小程序,刚做的,刚学,不会做什么,请多指教,thank you very much
VB小程序,刚做的,刚学,不会做什么,请多指教,thank you very much-VB small procedures, just do, just learning, not to do anything, please enlighten. thank you very much
- 2022-02-12 07:06:21下载
- 积分:1
-
传统的通信系统仿真课件,基于MATLAB平台的C.
经典的通信系统仿真课件,基于Matlab平台实现通信系统各个环节的仿真-Classical communication system simulation courseware, based on Matlab platform communication system simulation of all aspects of
- 2022-03-29 17:15:25下载
- 积分:1