This is an automated email from the ASF dual-hosted git repository.
sebwrede pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/master by this push:
new 785bf13 [MINOR] Edit L2SVMTest
785bf13 is described below
commit 785bf13444fa104cece849db81cd1459febd5025
Author: sebwrede <[email protected]>
AuthorDate: Mon Jul 5 15:31:28 2021 +0200
[MINOR] Edit L2SVMTest
The L2SVM test failed because the alignment check in
AggregateTernaryFEDInstruction had been changed. This meant that the script
could run with no privacy exceptions when an input with PrivateAggregate
constraint was given. The tests have now been changed so that they do not
expect an exception.
---
.../sysds/test/functions/privacy/algorithms/FederatedL2SVMTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
a/src/test/java/org/apache/sysds/test/functions/privacy/algorithms/FederatedL2SVMTest.java
b/src/test/java/org/apache/sysds/test/functions/privacy/algorithms/FederatedL2SVMTest.java
index 3994baa..e543d9e 100644
---
a/src/test/java/org/apache/sysds/test/functions/privacy/algorithms/FederatedL2SVMTest.java
+++
b/src/test/java/org/apache/sysds/test/functions/privacy/algorithms/FederatedL2SVMTest.java
@@ -286,8 +286,7 @@ public class FederatedL2SVMTest extends AutomatedTestBase {
rows = 1000; cols = 1;
Map<String, PrivacyConstraint> privacyConstraints = new
HashMap<>();
privacyConstraints.put("X1", new
PrivacyConstraint(PrivacyLevel.PrivateAggregation));
- federatedL2SVM(Types.ExecMode.SINGLE_NODE, privacyConstraints,
null, PrivacyLevel.PrivateAggregation,
- false, null, true, DMLRuntimeException.class);
+ federatedL2SVMNoException(Types.ExecMode.SINGLE_NODE,
privacyConstraints, null, PrivacyLevel.PrivateAggregation);
}
@Test
@@ -295,8 +294,7 @@ public class FederatedL2SVMTest extends AutomatedTestBase {
rows = 1000; cols = 1;
Map<String, PrivacyConstraint> privacyConstraints = new
HashMap<>();
privacyConstraints.put("X2", new
PrivacyConstraint(PrivacyLevel.PrivateAggregation));
- federatedL2SVM(Types.ExecMode.SINGLE_NODE, privacyConstraints,
null, PrivacyLevel.PrivateAggregation,
- false, null, true, DMLRuntimeException.class);
+ federatedL2SVMNoException(Types.ExecMode.SINGLE_NODE,
privacyConstraints, null, PrivacyLevel.PrivateAggregation);
}
@Test