-
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
-
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
-
Heritrix is an open source, scalable web reptiles project. Heritrix is designed...
Heritrix是一个开源,可扩展的web爬虫项目。Heritrix设计成严格按照robots.txt文件的排除指示和META robots标签。-Heritrix is an open source, scalable web reptiles project. Heritrix is designed in strict accordance with the robots.txt file to exclude directives and META robots tags.
- 2022-03-20 08:29:01下载
- 积分:1
-
植被冠层模型SAIL的多层拓展
对植被冠层模型的分层拓展,将冠层分为多个小薄层,每一薄层之间用Adding method方法耦合,并且考虑了多次散射中的热点效应。可用于BRDF建模和LAI反演
- 2022-07-13 04:04:28下载
- 积分:1
-
非常好的数学公式计算源代码,支持程序运行时公式的自定义,支持宏定义、常量定义、函数定义...
非常好的数学公式计算源代码,支持程序运行时公式的自定义,支持宏定义、常量定义、函数定义-very good mathematical formula source code, run-time support for the procedural formula from the definition of support Acer definition constants defined function definition
- 2022-03-05 17:37:44下载
- 积分:1
-
which is made up of expression to expression Suffix
它由表达式到表达式后缀组成
- 2022-03-11 17:17:56下载
- 积分:1
-
- 2022-08-24 00:44:47下载
- 积分:1
-
java打飞机源码
用java做的一个打飞机的小游戏,这是整个工程包,里面有所有需要的.java .class文件,可以直接导入到myeclipse下运行
谢谢大家下载,不要乱传
顶一个。。。。哈哈哈啊哈哈哈哈哈
- 2023-06-03 21:55:04下载
- 积分:1
-
二次指数平滑预测法和三次指数平滑预测法是普遍的预测方法,应用很广,本代码还包含其平滑系数的确定...
二次指数平滑预测法和三次指数平滑预测法是普遍的预测方法,应用很广,本代码还包含其平滑系数的确定-quadratic exponential smoothing prediction and three exponential smoothing prediction is a common forecasting methods, a wide application, the code also includes its smooth determine the coefficient
- 2022-03-23 11:49:19下载
- 积分:1
-
八皇后问题
八皇后问题-Eight queens problem
- 2022-08-19 00:28:50下载
- 积分:1