-
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
-
多元数组得各类运算
多元数组得各类运算-multiple arrays in various operations
- 2022-07-17 21:53:35下载
- 积分:1
-
跳动的心 点阵51单片机
应用背景通过一个跳动的心,来演示点阵屏的使用,和学习51单片机如何驱动点阵关键技术通过51单片机对点阵的操作,显示出一个心形的图案,并通过定时器做出图案动态显示
- 2022-05-16 21:05:01下载
- 积分:1
-
该算法简单、实用的基础上,该算法可以实现…
一个简单实用的进制转换算法,该算法能实现二、八、十、十六进制的相互转化。-a simple and practical base for the conversion algorithm, the algorithm can achieve 2, 8, 10, hexadecimal the mutual conversion.
- 2022-03-04 01:49:46下载
- 积分:1
-
八数码问题的问题
八数码问题的问题-the question of
- 2022-02-10 04:03:56下载
- 积分:1
-
一些重要的有关地球物理计算的软件算法程序!!很有用的
一些重要的有关地球物理计算的软件算法程序!!很有用的-some important related geophysical software algorithm calculation procedures. ! Very useful!
- 2022-02-14 08:48:33下载
- 积分:1
-
指纹识别
指纹识别-Fingerprint Recognition
- 2022-08-18 13:41:39下载
- 积分:1
-
广义矩阵求逆相关资料,矩阵运算,矩阵概念。
广义矩阵求逆相关资料,矩阵运算,矩阵概念。-Generalized information matrix inversion, matrix operations, matrix concept.
- 2023-08-16 19:50:03下载
- 积分:1
-
FLCS在3DIC設計中會使用的方法
在3DIC設計中會使用的方法
Floorplanning is an important and dispensable stage in the traditional integrated circuit design process. With the raised module numbers and increased wire length, the computation complexity is raised dramatically. Obviously, the traditional algorithms need to be updated. We developed an orthogonal table, in which each factor represents a module and the level of a specified factor denotes the orientation of that module. With this orthogonal table, the solution space is significantly decreased.
We use sequence pair to represent a floorplan and the fast longest common subsequence is used accordingly to calculate the area of
- 2022-08-13 12:52:54下载
- 积分:1
-
基本的C语言线性代数函数库,在linux下可直接编译;在windows下要显示地申明包含...
基本的C语言线性代数函数库,在linux下可直接编译;在windows下要显示地申明包含-basic linear algebra C language library in Linux can be directly translated; Under the windows to show to affirm include
- 2022-05-20 22:04:18下载
- 积分:1