-
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
-
二叉树遍历的方法
二叉树遍历的方法-binary tree traversal methods
- 2022-02-05 15:16:36下载
- 积分:1
-
数学基本函数调用库
数学基本函数调用库-basic mathematical function call library
- 2023-02-07 21:30:03下载
- 积分:1
-
流利的与# 39动态网格的例子
Fluent的动网格算例,应该算是比较常用的类型。源文件和演示文件都有。-Fluent" s dynamic mesh example
- 2022-08-09 04:51:54下载
- 积分:1
-
PSO算法在室内定位系统中的应用
资源描述室内定位系统,是用于在较大或复杂的建筑物内完成对目标物进行定位的实
时系统,其目标物包括人和物品。该系统的核心包括两个部分:硬件系统和软件
系统。其基本思想是利用算法根据参照点的坐标来确定目标物的坐标,从而实现
目标的定位。本论文的主要目标就是研发用于提高室内定位系统性能的软件系统。
- 2022-03-22 19:39:42下载
- 积分:1
-
poj1915求移动棋子到特定位置的最少次数,BFS经典题目
poj1915求移动棋子到特定位置的最少次数,BFS经典题目-poj1915 for mobile pawn to a specific location of the minimum number, BFS Classic Title
- 2023-06-10 02:35:03下载
- 积分:1
-
图像的线性变换
应用背景主要运用在图像的点运算上,可以将RGB图像灰度化,进而二值化,也可以对灰度图像进行反色处理,进行线性变换处理。也可以将RGB图像灰度化后进行灰度拉伸和灰度均衡化处理。关键技术采用MFC界面,运用C/C++进行编程,界面清晰明了,是学习图像处理的入门程序。可以对RGB图像和灰度图像进行多种预处理,然后可以据此进行更进一步处理。
- 2022-04-27 15:07:11下载
- 积分:1
-
image rotation procedures, the images can be arbitrary angle of rotation (after...
图像旋转程序,可以对图像进行任意角度的旋转(旋转后无图像部分用255赋值)。-image rotation procedures, the images can be arbitrary angle of rotation (after rotating images without using some 255 assignment).
- 2022-06-14 18:32:45下载
- 积分:1
-
拼写校正
应用背景使用最小编辑距离算法检查拼写校正 ;关键技术C源代码检查拼写校正的最小编辑距离和显示正确的单词在字典。
- 2022-12-10 13:25:03下载
- 积分:1
-
topological sorting 拓扑排序
用C语言实现的拓扑排序算法topological sorting
- 2022-04-18 18:34:53下载
- 积分:1