-
K-Means算法 mapreduce
public class KmeansMapper extends MapReduceBase implements
Mapper {
// one coodinate(data)
private List coordinate = new ArrayList();
private BasicKMeansTool basicKmeans = new BasicKMeansTool();
public void map(LongWritable key, Text value,
OutputCollector midoutput,
Reporter arg3) throws IOException {
// TODO Auto-generated method stub
String line = value.toString();
String[] dataList = line.split(",");
List distances = null;
StringTokenizer itr;
for (int i = 0; i < dataList.length; i++) {
itr = new StringTokenizer(dataList[i]);
&nbs
- 2023-02-01 17:45:04下载
- 积分:1
-
模式识别中关于CYK代码
模式识别中关于CYK代码,费了好大力气才从别处弄来的,与大家分享,希望可以为需要的人带来帮助哦
- 2023-04-24 20:05:03下载
- 积分:1
-
Upload Files Without COM
资源描述
详细介绍: 一套国外的搜索引擎,采用db数据库,不过是英文版的,经过修改我想一套正宗的SOHU系统也该诞生了!
- 2022-03-12 21:42:40下载
- 积分:1
-
Eular法解分数阶微分方程,分数阶导数定义系数通过fourier法计算...
Eular法解分数阶微分方程,分数阶导数定义系数通过fourier法计算-eular method of fractional differential equations, fractional derivative definition coefficient calculated by fourier
- 2022-01-26 06:43:50下载
- 积分:1
-
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
- 2022-10-31 12:55:03下载
- 积分:1
-
该程序用来处理微分方程系统的,用来化简一个微分系统的,特别是高维的系统,用来计算中心流行...
该程序用来处理微分方程系统的,用来化简一个微分系统的,特别是高维的系统,用来计算中心流行-The procedures used to deal with differential equations system for the simplification of a differential system, especially high-dimensional system, used to pop Center
- 2022-12-11 14:40:03下载
- 积分:1
-
该程序用递归的方法产生格雷码序列,它需要一定的额外的空间....
该程序用递归的方法产生格雷码序列,它需要一定的额外的空间.-the procedures used recursive methods Gray code sequence, it needs the additional space.
- 2022-04-11 15:53:22下载
- 积分:1
-
有用的哦,要好好看一下。而且比较难找到的算法
有用的哦,要好好看一下。而且比较难找到的算法-useful oh, what better look good. , And more difficult to find the algorithm
- 2022-01-26 07:07:03下载
- 积分:1
-
网页抓取程序,开源的Web蜘蛛程序,可以多线程现在Web页面
网页抓取程序,开源的Web蜘蛛程序,可以多线程现在Web页面-Page crawling process, open source Web spider, you can now multi-threaded Web page
- 2022-03-05 17:01:13下载
- 积分:1
-
数据挖掘中的一算法 relim算法,适合数据挖掘初学者借鉴,c语言实现的。简单易懂。...
数据挖掘中的一算法 relim算法,适合数据挖掘初学者借鉴,c语言实现的。简单易懂。-of data mining algorithms relim an algorithm suitable for beginners from data mining, c language to achieve. Simple and understandable.
- 2022-07-28 07:41:18下载
- 积分:1