登录
首页 » 数据结构 » K-均值在 C 编程

K-均值在 C 编程

于 2023-07-21 发布 文件大小:3.59 kB
0 128
下载积分: 2 下载次数: 1

代码说明:

// kmeans.c//伊桑·布罗德斯基2011年//月#include#include#include#定义SQR(X)((X)*(X))#定义MAX_CLUSTERS16#定义MAX_ITERATIONS100#定义BIG_double(INFINITY)无效失败(字符*海峡){的printf(STR);出口(-1);}双calc_distance(INT暗淡,双* P1,双* P2){双distance_sq_sum= 0;对于(INT II=0;二

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • swgl商务管理系统
    swgl商务管理系统-swgl Business Management System
    2023-03-19 03:35:04下载
    积分:1
  • vb实现最短路径Dijkstra算法,很经典的算法。
    vb实现最短路径Dijkstra算法,很经典的算法。-vb realize Dijkstra shortest path algorithm, it is the classic algorithms.
    2022-07-06 18:38:36下载
    积分:1
  • PB data window to the often exported to excel, and built
    PB的数据窗口中的内容经常要导出为excel,自带的函数效果总是不好,可以试试这个,表头也可导出.-PB data window to the often exported to excel, and built-in function is undesirable results, you can try this, the first table can be derived.
    2022-05-27 23:51:09下载
    积分:1
  • 二叉树与二叉链表
    假设以如下说明的三元组 (F、C、L/R) 序列输入一棵二叉树的诸边(其中 F 表示双亲结点的标识,C 表示孩子结点标识,L/R 表示 C 为 F 的左孩子或右孩子),且在输入的三元组序列中,C 是按层次顺序出现的。设结点的标识是字符类型。F=‘^’时 C 为根结点标识,若 C 亦为‘^’,则表示输入结束。 试编写算法,由输入的三元组序列建立二叉树的二叉链表,并以中序序列输出。^AL ABL ACR BDL CEL CFR DGR FHL ^^L -Assuming the following description of the triple (F, C, L/R) sequence of a binary tree of all the input side (where F that identifies the parent node, C, said child node ID, L/R that C is F, left or right child child), and triples in the input sequence, C is the emergence of a hierarchical order. Node identity is established character types. F = " ^" C for the root identity when, if C is also a " ^" , then enter the end. Test preparation algorithm, the input sequence of triples binary build the binary tree list, and in order to sequence the output
    2022-09-25 12:40:03下载
    积分:1
  • time for operational procedures
    oracle进行时间运行程序-time for operational procedures
    2023-02-25 21:00:04下载
    积分:1
  • 简单的演示,N的大小可以改变的,而且这个程序的速度还可以, 比以前我用递归写的那个快多了.如果N改得太大输出会有问题, 因为我用到gotoxy的,这个程...
    简单的演示,N的大小可以改变的,而且这个程序的速度还可以, 比以前我用递归写的那个快多了.如果N改得太大输出会有问题, 因为我用到gotoxy的,这个程序主要是练一个算法-simple demonstration, N size can be changed, but the rate of this procedure can also, than in the past I used to write a recursive that quicker. If N is too big change in exports, gotoxy because I used, the process is mainly a training algorithm
    2022-03-13 09:29:46下载
    积分:1
  • 学习写的排序代码,有冒泡排序、直接插入、希尔排序、简单选择排序、快速排序、堆排序...
    学习数据结构写的排序代码,有冒泡排序、直接插入、希尔排序、简单选择排序、快速排序、堆排序-study data structure was sort of code, Bubble Sort directly inserted, Hill, in order of simple choice, in order of Quick Sort, Heap Sort
    2022-06-27 11:18:18下载
    积分:1
  • 练习测试
    数据结构练习测试-Data Structures Practice Test
    2022-10-06 09:00:02下载
    积分:1
  • AFIS系统源码
    SourceAFIS是一个指纹识别/匹配SDK(库),或者更一般地说是一个自动指纹识别系统(AFIS)。它本质上是比较两个指纹,并决定他们是否属于同一个人。它可以快速搜索注册指纹的大型数据库。它附带了一个易于使用的API(纯.NET和一个实验性的Java端口)以及各种各样的应用程序和工具。
    2023-07-07 19:20:03下载
    积分:1
  • 一些源代码
    一些数据结构源代码-some data structure source code
    2022-02-03 18:29:28下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载