public class DataPartitionerSparkAggregator extends Object implements org.apache.spark.api.java.function.PairFunction<scala.Tuple2<Integer,LinkedList<scala.Tuple2<Long,scala.Tuple2<MatrixBlock,MatrixBlock>>>>,Integer,scala.Tuple2<MatrixBlock,MatrixBlock>>, Serializable
| Constructor and Description |
|---|
DataPartitionerSparkAggregator() |
DataPartitionerSparkAggregator(long fcol,
long lcol) |
| Modifier and Type | Method and Description |
|---|---|
scala.Tuple2<Integer,scala.Tuple2<MatrixBlock,MatrixBlock>> |
call(scala.Tuple2<Integer,LinkedList<scala.Tuple2<Long,scala.Tuple2<MatrixBlock,MatrixBlock>>>> input)
Row-wise combine the matrix
|
public DataPartitionerSparkAggregator()
public DataPartitionerSparkAggregator(long fcol,
long lcol)
public scala.Tuple2<Integer,scala.Tuple2<MatrixBlock,MatrixBlock>> call(scala.Tuple2<Integer,LinkedList<scala.Tuple2<Long,scala.Tuple2<MatrixBlock,MatrixBlock>>>> input) throws Exception
call in interface org.apache.spark.api.java.function.PairFunction<scala.Tuple2<Integer,LinkedList<scala.Tuple2<Long,scala.Tuple2<MatrixBlock,MatrixBlock>>>>,Integer,scala.Tuple2<MatrixBlock,MatrixBlock>>input - workerID => ordered list [(rowBlockID, (features, labels))]Exception - Some exceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.