-
Ant Algorithm
资源描述 有资源我愿共享,希望各位通辽互相帮助,互相学习,互相进步,CSDN!蚁群算法实现!蚁群算法的应用有很多,TSP问题,NP问题,可以与遗传算法结合起来,群体智慧!如有不足请多指教!蚁群算法运用于图像复原,碎纸拼接,修复破损文物等等。
- 2022-10-24 17:30:03下载
- 积分:1
-
k-均值算法 python
均值比率
试图生成速度快、 内存效率的 K-均值程序。
安装
gem来源-http://rubygems.org
sudo gem安装 k_means
如何使用
需要 "rubygems"
要求 "k_means"
数据 = [[1,1]、 [1,2],[1,1],[1000年、 1000年],[500、 500]]
kmeans = KMeans.new (数据,: 质心 = > 2)
kmeans.inspect # 使用 kmeans.view 拿到未检查数组
= > [[3,4],[0,1,2]]
自定义的质心
需要 "rubygems"
要求 "k_means"
# 您自定义的质心需要有 #position 和 #reposition 的方法
类 CustomCentroid
attr_acces
- 2022-04-28 00:29:05下载
- 积分:1
-
这三段C程序能够产生符合高斯、瑞利和泊松分布的随机数,并且包括关于它们的说明文档...
这三段C程序能够产生符合高斯、瑞利和泊松分布的随机数,并且包括关于它们的说明文档-These three paragraphs C program to generate consistent with Gaussian, Rayleigh and Poisson distribution of random numbers, and includes documentation about them
- 2022-01-31 02:36:39下载
- 积分:1
-
加减乘除练习用的程序,它可以让学生练习加减乘除等数学运算。...
加减乘除练习用的程序,它可以让学生练习加减乘除等数学运算。-arithmetic practice with the procedure, it can allow students to practice arithmetic and other mathematical calculations.
- 2022-03-01 11:24:47下载
- 积分:1
-
BMP的C++生成代码
使用C++编程语言实现BMP的文件生成,BMP是一种常见的图像格式。BMP 文件由文件头、位图信息头、颜色信息和图形数据四部分组成,生成较为复杂。附件提供了完成的BMP文件生成的代码及其具体的讲解。
- 2022-03-23 05:15:52下载
- 积分:1
-
kalman估值器,为了简洁未使用矩阵计算,应用了kalman滤波,c语言实现
kalman估值器,为了简洁未使用矩阵计算,应用了kalman滤波,c语言实现-A kalman estimator written with c , without matrix operation,applied kalman filter.
- 2022-10-17 01:55:03下载
- 积分:1
-
张量投票算法
张量投票算法的编程实现,vc++和matlab两个编程版本,N维张量投票,N>2
内有数据例子
- 2022-03-19 03:00:21下载
- 积分:1
-
containing matrix, subtraction, multiplication, addition and to the home, seekin...
含有矩阵加、减、乘、除及转置、求逆运算等等,还需要改进-containing matrix, subtraction, multiplication, addition and to the home, seeking inverse operation, and so on, it is also necessary to improve
- 2022-06-30 15:05:04下载
- 积分:1
-
比较BP,OMP,StOMP对于lena图像的CS效果
对于同一副256*256的lena图像进行压缩感知,对比的算法是BP,OMP以及StOMP(FDR),评价指标有:运算时间,压缩比率以及峰值信噪比
- 2022-04-10 19:58:26下载
- 积分:1
-
动态规则解数字三角问题给定一个由n行数字组成的数字三角形如下图所示。试设计一个算法,计算出从三角形的顶至底的一条路径,使该路径经过的数字总和最大。...
动态规则解数字三角问题给定一个由n行数字组成的数字三角形如下图所示。试设计一个算法,计算出从三角形的顶至底的一条路径,使该路径经过的数字总和最大。-Digital triangle Issue Description : given an OK by the number n of triangular figures shown in the diagram below. Design of a test algorithm, calculated from the top of the triangle to the end of a path, the path through the largest sum of the figures.
- 2022-12-23 12:15:03下载
- 积分:1