-
Notifications
You must be signed in to change notification settings - Fork 526
[SYSTEMDS-2766] Federated covariance #1150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Baunsgaard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content is okay, but lacks cleanup. I would suggest to try to split up your implementation into more methods.
And make sure that the different parts are tested. You can use jacoco to verify this, simply add the -Djacoco.skip=false to your IDE. then you will get the log files in target that you can open in HTML
src/main/java/org/apache/sysds/runtime/instructions/fed/CovarianceFEDInstruction.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/sysds/runtime/instructions/fed/CovarianceFEDInstruction.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/sysds/runtime/instructions/fed/CovarianceFEDInstruction.java
Outdated
Show resolved
Hide resolved
src/test/java/org/apache/sysds/test/functions/federated/primitives/FederatedCovarianceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/apache/sysds/test/functions/federated/primitives/FederatedCovarianceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/apache/sysds/test/functions/federated/primitives/FederatedCovarianceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/apache/sysds/test/functions/federated/primitives/FederatedCovarianceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/apache/sysds/test/functions/federated/primitives/FederatedCovarianceTest.java
Show resolved
Hide resolved
src/test/scripts/functions/federated/FederatedCovarianceTest.dml
Outdated
Show resolved
Hide resolved
src/test/scripts/functions/federated/FederatedCovarianceTestReference.dml
Outdated
Show resolved
Hide resolved
|
@Baunsgaard I cleaned the code, can you take another look? Thanks. |
|
LGTM, will merge shortly |
This PR adds federated covariance instruction.