-
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
-
一多项式求值,求导,减法,乘法,加法. 输出形式为类数学表达式, 指数升序排列....
一多项式求值,求导,减法,乘法,加法. 输出形式为类数学表达式, 指数升序排列.-a polynomial function, derivation, subtraction, multiplication and addition. Output form of mathematical expression category, the index in ascending order.
- 2022-04-18 23:42:48下载
- 积分:1
-
局部加权回归
Another Locally weighted regression
- 2022-02-02 23:17:53下载
- 积分:1
-
c++数组。一维数组的插入,删除,排序
c++数组。一维数组的插入,删除,排序-c array. One-dimensional arrays of the insert, delete, sort, etc.
- 2023-02-13 11:30:04下载
- 积分:1
-
重采样算法
随着数字信号处理理论和算法的发展,多抽样率信号处理在多媒体信号处理领域显得越来越重要。为了减少计算复杂度和存储复杂度,采样速率转换技术是十分必要的,音频重采样算法可以用来实现音频信号任意釆样速率之间的转换。设计了一种音频重采样算法,是基于线性插值的音频重釆样算法,并用这种算法实现了音频信号的重釆样。
- 2022-07-21 20:37:59下载
- 积分:1
-
迭代法的收敛与收敛速度的比较
Private Sub Form_Load() Label1.Caption = "方程的三个割根区间分别为(-3.6,-3.5),(0,0.1),(3.4,3.5)" Label2.Caption = "牛顿法可使用三个割根区间" Label3.Caption = "普通迭代法—格式1只能使用割根区间(-3.6,-3.5)和(3.4,3.5)" Label4.Caption = "普通迭代法—格式2 使用割根区间(0,0.1)"End SubPrivate Sub Command1_Click() Dim x!, y!, k% x = Val(Text1.Text) If Text1.Text = "" Then 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-03-27 06:50:04下载
- 积分:1
-
利用gmm模型进行特征分析的程序,欢迎与各位相关研究的朋友进行交流...
利用gmm模型进行特征分析的程序,欢迎与各位相关研究的朋友进行交流-use gmm model analysis procedures, and welcome to friends from the relevant research exchange
- 2022-01-25 19:30:29下载
- 积分:1
-
XMDS is a code generator that integrates equations. You write them down in human...
XMDS is a code generator that integrates equations. You write them down in human readable form in a XML file, and it goes away and writes and compiles a C++ program that integrates those equations as fast as it can possibly be done in your architecture.
- 2022-05-07 07:29:40下载
- 积分:1
-
多项式曲线拟合,和三角分解(LU分解)
任意阶的多项式曲线拟合方程,附三角maxtix分解-polynomial curve fitting, and triangularity decomposition(LU decmposition)
- 2023-09-01 15:10:03下载
- 积分:1
-
种子填充图
算法,图论,dfs,新人,算法,图论,dfs,新人算法,图论,dfs,新人算法,图论,dfs,新人算法,图论,dfs,新人算法,图论,dfs,新人算法,图论,dfs,新人算法,图论,dfs,新人算法,图论,dfs,新人算法,图论,dfs,新人算法,图论,dfs,新人
- 2022-02-14 08:52:02下载
- 积分:1