Class DRRLocalScheme
java.lang.Object
org.apache.sysds.runtime.controlprogram.paramserv.dp.DataPartitionLocalScheme
org.apache.sysds.runtime.controlprogram.paramserv.dp.DRRLocalScheme
Disjoint_Round_Robin data partitioner:
for each worker, use a permutation multiply
or simpler a removeEmpty such as removeEmpty
(target=X, margin=rows, select=(seq(1,nrow(X))%%k)==id)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.runtime.controlprogram.paramserv.dp.DataPartitionLocalScheme
DataPartitionLocalScheme.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoPartitioning(int workersNum, MatrixBlock features, MatrixBlock labels) static MatrixBlockremoveEmpty(MatrixBlock mb, int k, int workerId)
-
Constructor Details
-
DRRLocalScheme
public DRRLocalScheme()
-
-
Method Details
-
removeEmpty
-
doPartitioning
public DataPartitionLocalScheme.Result doPartitioning(int workersNum, MatrixBlock features, MatrixBlock labels) - Specified by:
doPartitioningin classDataPartitionLocalScheme
-