org.apache.sysml.lops.LopProperties.ExecType.CP - java examples

Here are the examples of the java api org.apache.sysml.lops.LopProperties.ExecType.CP taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

155 Examples 7

19 View Complete Implementation : FullGroupedAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testGroupedAggSumDenseWeightsCP() {
    runGroupedAggregateOperationTest(OpType.SUM, false, true, false, ExecType.CP);
}

19 View Complete Implementation : FullVectorVectorCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testLessThanEmptyEmptyCP() {
    runMatrixVectorCellwiseOperationTest(OpType.LESS_THAN, SparsityType.EMPTY, SparsityType.EMPTY, ExecType.CP);
}

19 View Complete Implementation : FullColAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testColMeansDenseMatrixNoRewritesCP() {
    runColAggregateOperationTest(OpType.COL_MEANS, false, false, ExecType.CP, false);
}

19 View Complete Implementation : FullAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testTraceDenseMatrixCP() {
    runColAggregateOperationTest(OpType.TRACE, false, false, ExecType.CP);
}

19 View Complete Implementation : ParForNaiveBayesTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testParForNaiveBayesLocalSparseCP() {
    runParForNaiveBayesTest(PExecMode.LOCAL, ExecType.CP, false, true);
}

19 View Complete Implementation : FullMatrixVectorRowCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testAdditionDenseSparseCP() {
    runMatrixVectorCellwiseOperationTest(OpType.ADDITION, SparsityType.DENSE, SparsityType.SPARSE, ExecType.CP);
}

19 View Complete Implementation : MapMultChainTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testMapMultChainNoRewriteDenseCP() {
    runMapMultChainTest(TEST_NAME1, false, false, ExecType.CP);
}

19 View Complete Implementation : StringAppendTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testLoopStringAppendErrorCP() {
    runStringAppendTest(TEST_NAME2, 10000, true, ExecType.CP);
}

19 View Complete Implementation : ColSumsSqTest.java
Copyright Apache License 2.0
Author : apache
// Sparse vector w/o rewrites
@Test
public void testColSumsSquaredSparseVectorNoRewriteCP() {
    testColSumsSquared(TEST_NAME, true, true, false, ExecType.CP);
}

19 View Complete Implementation : ColStdDevsTest.java
Copyright Apache License 2.0
Author : apache
// Dense row vector
@Test
public void testColStdDevsDenseRowVectorCP() {
    testColStdDevs(TEST_NAME, Sparsity.DENSE, DataType.ROWVECTOR, ExecType.CP);
}

19 View Complete Implementation : RowSumsSqTest.java
Copyright Apache License 2.0
Author : apache
// Sparse vector w/ rewrites
@Test
public void testRowSumsSquaredSparseVectorRewriteCP() {
    testRowSumsSquared(TEST_NAME, true, true, true, ExecType.CP);
}

19 View Complete Implementation : ColStdDevsTest.java
Copyright Apache License 2.0
Author : apache
// Dense matrix
@Test
public void testColStdDevsDenseMatrixCP() {
    testColStdDevs(TEST_NAME, Sparsity.DENSE, DataType.MATRIX, ExecType.CP);
}

19 View Complete Implementation : FullRowAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testRowIndexMinDenseVectorNegCP() {
    runRowAggregateOperationTest(OpType.ROW_INDEXMIN, false, true, ExecType.CP, true);
}

19 View Complete Implementation : ElementwiseBitwLogicalTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testBitwOrDenseCP() {
    runBitwLogic(TEST_NAME2, false, ExecType.CP);
}

19 View Complete Implementation : QuantileTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testQuantile1SparseCP() {
    runQuantileTest(TEST_NAME1, 0.25, true, ExecType.CP);
}

19 View Complete Implementation : FullMatrixMatrixCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testAdditionEmptySparseCP() {
    runMatrixCellwiseOperationTest(OpType.ADDITION, SparsityType.EMPTY, SparsityType.SPARSE, ExecType.CP);
}

19 View Complete Implementation : FullVectorVectorCellwiseCompareOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testGreaterThanSparseDenseCP() {
    runMatrixVectorCellwiseOperationTest(OpType.GREATER_THAN, SparsityType.SPARSE, SparsityType.DENSE, ExecType.CP);
}

19 View Complete Implementation : FullMatrixMatrixCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testSubtractionDenseSparseCP() {
    runMatrixCellwiseOperationTest(OpType.SUBTRACTION, SparsityType.DENSE, SparsityType.SPARSE, ExecType.CP);
}

19 View Complete Implementation : AggregateInfTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testSumPosInfDenseCP() {
    runInreplacedgregateOperationTest(true, false, ExecType.CP);
}

19 View Complete Implementation : FullVectorVectorCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testLessThanEmptyDenseCP() {
    runMatrixVectorCellwiseOperationTest(OpType.LESS_THAN, SparsityType.EMPTY, SparsityType.DENSE, ExecType.CP);
}

19 View Complete Implementation : FullColAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testColMaxDenseVectorCP() {
    runColAggregateOperationTest(OpType.COL_MAX, false, true, ExecType.CP);
}

19 View Complete Implementation : FullMatrixVectorColCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testDivisionEmptyEmptyCP() {
    runMatrixVectorCellwiseOperationTest(OpType.DIVISION, SparsityType.EMPTY, SparsityType.EMPTY, ExecType.CP);
}

19 View Complete Implementation : FullMatrixMatrixCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testSubtractionEmptyDenseCP() {
    runMatrixCellwiseOperationTest(OpType.SUBTRACTION, SparsityType.EMPTY, SparsityType.DENSE, ExecType.CP);
}

19 View Complete Implementation : FullMatrixVectorRowCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testMultiplicationDenseEmptyCP() {
    runMatrixVectorCellwiseOperationTest(OpType.MULTIPLICATION, SparsityType.DENSE, SparsityType.EMPTY, ExecType.CP);
}

19 View Complete Implementation : DiagMatrixMultiplicationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testDiagMMDenseDenseTransposeNoSimplifyCP() {
    runDiagMatrixMultiplicationTest(false, false, true, false, ExecType.CP, false);
}

19 View Complete Implementation : FullLogicalMatrixTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testLogicalEqualsSparseDenseCP() {
    runLogicalTest(Type.EQUALS, true, false, ExecType.CP);
}

19 View Complete Implementation : ElementwiseLogicalTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testXorSparseCP() {
    runLogical(TEST_NAME4, true, ExecType.CP);
}

19 View Complete Implementation : FullMatrixVectorRowCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testDivisionEmptySparseCP() {
    runMatrixVectorCellwiseOperationTest(OpType.DIVISION, SparsityType.EMPTY, SparsityType.SPARSE, ExecType.CP);
}

19 View Complete Implementation : SumSqTest.java
Copyright Apache License 2.0
Author : apache
// Dense matrix w/o rewrites
@Test
public void testSumSquaredDenseMatrixNoRewriteCP() {
    testSumSquared(TEST_NAME, false, false, false, ExecType.CP);
}

19 View Complete Implementation : FullVectorVectorCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testLessThanSparseEmptyCP() {
    runMatrixVectorCellwiseOperationTest(OpType.LESS_THAN, SparsityType.SPARSE, SparsityType.EMPTY, ExecType.CP);
}

19 View Complete Implementation : FullMatrixMatrixCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testMultiplicationDenseSparseCP() {
    runMatrixCellwiseOperationTest(OpType.MULTIPLICATION, SparsityType.DENSE, SparsityType.SPARSE, ExecType.CP);
}

19 View Complete Implementation : AggregateInfTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testSumNegInfDenseCP() {
    runInreplacedgregateOperationTest(false, false, ExecType.CP);
}

19 View Complete Implementation : MapMultChainTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testMapMultChainWeights2RewriteSparseCP() {
    runMapMultChainTest(TEST_NAME3, true, true, ExecType.CP);
}

19 View Complete Implementation : FullGroupedAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testGroupedAggSumSparseCP() {
    runGroupedAggregateOperationTest(OpType.SUM, true, false, false, ExecType.CP);
}

19 View Complete Implementation : ElementwiseBitwLogicalTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testBitwShiftLDenseCP() {
    runBitwLogic(TEST_NAME4, false, ExecType.CP);
}

19 View Complete Implementation : FullMatrixMatrixCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testMultiplicationEmptySparseCP() {
    runMatrixCellwiseOperationTest(OpType.MULTIPLICATION, SparsityType.EMPTY, SparsityType.SPARSE, ExecType.CP);
}

19 View Complete Implementation : ParForCorrelationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testParForCorrleationRemoteLocalCPWithStats() {
    runParForCorrelationTest(true, PExecMode.REMOTE_MR, PExecMode.LOCAL, ExecType.CP, false, false, true);
}

19 View Complete Implementation : FullRowAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testRowSumsSparseVectorNoRewritesCP() {
    runRowAggregateOperationTest(OpType.ROW_SUMS, true, true, ExecType.CP, false, false);
}

19 View Complete Implementation : ColVariancesTest.java
Copyright Apache License 2.0
Author : apache
// Sparse column vector w/o rewrites
@Test
public void testColVariancesSparseColVectorNoRewritesCP() {
    testColVariances(TEST_NAME, Sparsity.SPARSE, DataType.COLUMNVECTOR, false, ExecType.CP);
}

19 View Complete Implementation : FullRowAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testRowMeansSparseVectorCP() {
    runRowAggregateOperationTest(OpType.ROW_MEANS, true, true, ExecType.CP);
}

19 View Complete Implementation : ColVariancesTest.java
Copyright Apache License 2.0
Author : apache
// Dense column vector w/ rewrites
@Test
public void testColVariancesDenseColVectorRewritesCP() {
    testColVariances(TEST_NAME, Sparsity.DENSE, DataType.COLUMNVECTOR, true, ExecType.CP);
}

19 View Complete Implementation : ParForNaiveBayesTest.java
Copyright Apache License 2.0
Author : apache
/* MB: see small mem test for REMOTE_MR_DP
	@Test
	public void testParForNaiveBayesRemoteDPDenseCP() 
	{
		runParForNaiveBayesTest(PExecMode.REMOTE_MR_DP, ExecType.CP, false, false);
	}
	
	@Test
	public void testParForNaiveBayesRemoteDPSparseCP() 
	{
		runParForNaiveBayesTest(PExecMode.REMOTE_MR_DP, ExecType.CP, false, true);
	}
	*/
@Test
public void testParForNaiveBayesDefaultDenseCP() {
    runParForNaiveBayesTest(null, ExecType.CP, false, false);
}

19 View Complete Implementation : StringAppendTest.java
Copyright Apache License 2.0
Author : apache
// -------------------------------------------------------
// note: there should be no difference to running in MR because scalar operation
@Test
public void testBasicStringAppendMR() {
    runStringAppendTest(TEST_NAME1, -1, false, ExecType.CP);
}

19 View Complete Implementation : ColVariancesTest.java
Copyright Apache License 2.0
Author : apache
// Dense column vector w/o rewrites
@Test
public void testColVariancesDenseColVectorNoRewritesCP() {
    testColVariances(TEST_NAME, Sparsity.DENSE, DataType.COLUMNVECTOR, false, ExecType.CP);
}

19 View Complete Implementation : FullRowAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testRowMinDenseMatrixCP() {
    runRowAggregateOperationTest(OpType.ROW_MIN, false, false, ExecType.CP);
}

19 View Complete Implementation : FullGroupedAggregateTest.java
Copyright Apache License 2.0
Author : apache
/* TODO weighted variance in R
	@Test
	public void testGroupedAggVarianceDenseWeightsCP() 
	{
		runGroupedAggregateOperationTest(OpType.VARIANCE, false, true, false, ExecType.CP);
	}
	
	@Test
	public void testGroupedAggVarianceSparseWeightsCP() 
	{
		runGroupedAggregateOperationTest(OpType.VARIANCE, true, true, false, ExecType.CP);
	}
	*/
@Test
public void testGroupedAggMoment3DenseCP() {
    runGroupedAggregateOperationTest(OpType.MOMENT3, false, false, false, ExecType.CP);
}

19 View Complete Implementation : FullGroupedAggregateTest.java
Copyright Apache License 2.0
Author : apache
/* TODO weighted central moment in R
	@Test
	public void testGroupedAggMoment3DenseWeightsCP() 
	{
		runGroupedAggregateOperationTest(OpType.MOMENT3, false, true, false, ExecType.CP);
	}
	
	@Test
	public void testGroupedAggMoment3SparseWeightsCP() 
	{
		runGroupedAggregateOperationTest(OpType.MOMENT3, true, true, false, ExecType.CP);
	}
	*/
@Test
public void testGroupedAggMoment4DenseCP() {
    runGroupedAggregateOperationTest(OpType.MOMENT4, false, false, false, ExecType.CP);
}

19 View Complete Implementation : FullMatrixVectorColCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testSubtractionEmptyDenseCP() {
    runMatrixVectorCellwiseOperationTest(OpType.SUBTRACTION, SparsityType.EMPTY, SparsityType.DENSE, ExecType.CP);
}

19 View Complete Implementation : FullAggregateTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testSumDenseVectorCP() {
    runColAggregateOperationTest(OpType.SUM, false, true, ExecType.CP);
}

19 View Complete Implementation : FullMatrixMatrixCellwiseOperationTest.java
Copyright Apache License 2.0
Author : apache
@Test
public void testSubtractionDenseEmptyCP() {
    runMatrixCellwiseOperationTest(OpType.SUBTRACTION, SparsityType.DENSE, SparsityType.EMPTY, ExecType.CP);
}