-
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
-
特征值提取程序
信号分解后进行特征值提取。包含均值、方根幅值、均方根值、最大值、标准差、偏斜度、峭度、峰值因子、裕度因子、波形因子、脉冲因子、方差等多种特征值,可以进行多个或者单个特征值的输出。在模式识别领域或者是振动噪声分析领域很有用处。
- 2023-03-06 22:00:03下载
- 积分:1
-
全自主足球机器人运动控制系统的研制
资源描述在Matlab.Simulink环境下对机器人的运动控制系统进行建模和仿真分析,详细
阐述了在Matlab.Simulink环境下建立各仿真模型的步骤,测试Fuzzy.BPNN.PID复
合控制电机调速算法以及基于速度补偿控制器的四轮解耦算法的可行性。最终在以
$3C2440A和4块dsPIC为控制芯片的硬件平台上对控制算法进行了嵌入式实现,并
通过实物实验表明机器人能够较为快速、精确、可靠地跟随期望轨迹,完全能满足
全自主机器人足球比赛的要求。
- 2022-03-11 22:40:04下载
- 积分:1
-
二叉树的递归与非递归遍历(Java描述),高效实现Josephus算法,合并有序链表,基于队列实现的基数排序,栈.回溯.迷宫问题求解。5个算法的源程序。...
二叉树的递归与非递归遍历(Java描述),高效实现Josephus算法,合并有序链表,基于队列实现的基数排序,栈.回溯.迷宫问题求解。5个算法的源程序。-Recursive and non recursive binary tree traversal (Java description), efficient algorithms to achieve Josephus, merging sorted linked list, queue-based implementation of radix sort, stack. Backtracking. Maze problem-solving. 5 algorithm source code.
- 2022-04-25 12:32:36下载
- 积分:1
-
用传输矩阵方法编写的matalb程序,可以用来计算透射率与缺陷折射率之间的关系...
用传输矩阵方法编写的matalb程序,可以用来计算透射率与缺陷折射率之间的关系-Transfer matrix method used to prepare the matalb procedures, can be used to calculate the transmission rate and defects in the refractive index of the relationship between
- 2022-08-21 07:22:13下载
- 积分:1
-
用回溯方法写的01背包问题,有中文注释,很容易懂!
用回溯方法写的01背包问题,有中文注释,很容易懂!-Methods used to write back the 01 knapsack problem, a Chinese note, it is easy to understand!
- 2022-03-23 18:35:00下载
- 积分:1
-
分水岭方法
使用分水岭方法常常遇到过分分割的情况,使用膨胀腐蚀能够有效改善这种现象。
- 2022-08-20 19:30:05下载
- 积分:1
-
心电图 lib
Ecglib 是自动的心电图的分析算法库,主要用于自动分析静息心电图、 年龄、 性别的可以视为一个诊断的因素以确保诊断的准确性。通过 CSE 心电数据库评价自动心电图分析算法 (Ecglib),以达到更好的效果。
另外
EcglibDemo 是Ecglib库的示例程序。
- 2022-06-20 18:42:08下载
- 积分:1
-
This function calculates the peaks in a vector V.
This function calculates the peaks in a vector V.
- 2022-07-19 15:20:49下载
- 积分:1
-
关于矩阵的运算算法
关于矩阵的运算算法-on matrix arithmetic algorithm
- 2022-08-18 04:17:44下载
- 积分:1