Class: matlab.compiler.mlspark.RDD
Package: matlab.compiler.mlspark
Aggregate the values of each key, using given combine functions and a neutral “zero value”
result =
aggregateByKey(obj,zeroValue,seqFunc,combFunc,numPartitions)
aggregates
the values of each key, using given combine functions specified by result =
aggregateByKey(obj,zeroValue,seqFunc,combFunc,numPartitions)seqFunc and combFunc,
and a neutral “zero value” specified by zeroValue.
The input argument numPartitions is optional.
aggregate | collect | combineByKey | foldByKey | groupByKey | map | parallelize | reduceByKey | sortByKey | subtractByKey