请输入您要查询的俚语:

 

俚语 mapreduce
释义

mapReduce

The now freely available framework that gave Google infinite ability to acquire and manipulate data. It describes a way to distribute the power of a master node over an infinite number of worker nodes.
The canonical example application of MapReduce is a process to count the appearances of each different word in a set of documents:

void map(String name, String document):

// name: document name

// document: document contents

for each word w in document:

EmitIntermediate(w, "1");

void reduce(String word, Iterator partialCounts):

// word: a word

// partialCounts: a list of aggregated partial counts

int sum = 0;

for each pc in partialCounts:

sum += ParseInt(pc);

Emit(word, AsString(sum));

-From Wikipedia
随便看

 

英语俚语辞典收录了3210630条英语俚语在线翻译词条,基本涵盖了全部常用英语俚语的翻译及用法,是英语学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2024/12/23 9:07:39