-
k-means离群点检测
1算法思路
K-means算法
先随机选取K个对象作为初始的聚类中心。然后计算每个对象与各个种子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心。聚类中心以及分配给它们的对象就代表一个聚类。一旦全部对象都被分配了,每个聚类的聚类中心会根据聚类中现有的对象被重新计算。这个过程将不断重复直到满足某个终止条件。终止条件可以是以下任何一个:
1)没有(或最小数目)对象被重新分配给不同的聚类。
2)没有(或最小数目)聚类中心再发生变化。
3)误差平方和局部最小。
2算法步骤 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-06-17 08:21:18下载
- 积分:1
-
在vb6.0实现窗体上某一颜色变成透明,使用很简单,插入控件后,直接调用一个函数,就行了...
在vb6.0实现窗体上某一颜色变成透明,使用很简单,插入控件后,直接调用一个函数,就行了-In vb6.0 to achieve a particular color to become transparent on the form, using very simple, insert the control, direct call to a function on the list
- 2022-03-10 13:14:29下载
- 积分:1
-
Classic C++ Books, learning c++ Friends are very helpful
经典的 C++书籍,对学习c++的朋友有很大帮助-Classic C++ Books, learning c++ Friends are very helpful
- 2022-05-05 08:19:42下载
- 积分:1
-
用VC++在windows的条件下实现桌面墙纸的定期更换,
用VC++在windows的条件下实现桌面墙纸的定期更换,-wall paper s changing
- 2022-07-28 14:13:04下载
- 积分:1
-
if this document can understand the (only one main function, available to the ve...
如果能够把这个文件看懂了(只有一个main函数,可用到的C知识非常深奥),那你的C语言就到家了。非常值得学习。-if this document can understand the (only one main function, available to the very esoteric knowledge C), then you are on the C language of the home. Very worth learning.
- 2023-08-24 01:00:03下载
- 积分:1
-
一个文件删除的例子,值得参考
一个文件删除的例子,值得参考-Example of a file deleted, it is also useful
- 2023-02-18 00:15:04下载
- 积分:1
-
利用opencv 读取视频 并作处理转化成单通道图像再处理二值化前景图...
利用opencv 读取视频 并作处理转化成单通道图像再处理二值化前景图-Opencv read and make use of video processing into a single image binarization prospect of re-treatment plan
- 2022-11-11 00:50:09下载
- 积分:1
-
windows编程,一个贝塞尔曲线的小程序
windows编程,一个贝塞尔曲线的小程序-windows programming, a Bezier curve applet
- 2023-05-08 03:50:02下载
- 积分:1
-
一个可以运行DOS程序(正确的说法应该是Windows下的控制台程序)并且捕捉程序输出的源程序...
一个可以运行DOS程序(正确的说法应该是Windows下的控制台程序)并且捕捉程序输出的源程序-one can run DOS (The correct statement should be Windows console procedures) and procedures for capturing output of the source
- 2022-06-28 01:21:41下载
- 积分:1
-
C-mex files for MATLAB encounter the following problem when compiling
them with WATCOM 11.0: All access-functions to files (fprintf, fscanf)
cannot handle double variables, only integer and strings are read or
written correctly. The file convert.c contains two functions: You may
read a double-variable as a string from the file and convert it to a
double (function string2double) and you may convert a double to a string
(function double2string) and write it to a file (see main() in
convert.c).
The file conditio.dat is an example of numbers read by convert.c. The
conv.exe was compiled on a Windows95-system.
The files were tested for MATLAB 5.2 and WATCOM 11.0a
result of "ver" is: MATLAB Version 5.2.1.1420 on PCWIN-C-mex files for MATLAB encounter the following problem when compiling them with WATCOM 11.0: All access-functions to files (fprintf, fscanf) cannot handle double variables, only integer and strings are read or written correctly. The file convert.c c
- 2022-06-01 01:50:17下载
- 积分:1