Skip to content

Commit 26ad4aa

Browse files
committed
server/tests/e2e/federated.spec.ts: lower random init accuracy to 0.5
1 parent 5cf49e7 commit 26ad4aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: server/tests/e2e/federated.spec.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ describe("end-to-end federated", () => {
7575
await disco.close();
7676

7777
expect(logs.last()?.epochs.last()?.training.accuracy).to.be.greaterThan(
78-
0.6,
78+
0.5,
7979
);
8080
if (logs.last()?.epochs.last()?.validation === undefined)
8181
throw new Error(
8282
"No validation logs while validation dataset was specified",
8383
);
8484
const validationLogs = logs.last()?.epochs.last()?.validation;
85-
expect(validationLogs?.accuracy).to.be.greaterThan(0.6);
85+
expect(validationLogs?.accuracy).to.be.greaterThan(0.5);
8686

8787
return disco.trainer.model.weights;
8888
}
@@ -122,7 +122,7 @@ describe("end-to-end federated", () => {
122122
await disco.close();
123123

124124
const validationLogs = logs.last()?.epochs.last()?.validation;
125-
expect(validationLogs?.accuracy).to.be.greaterThan(0.6);
125+
expect(validationLogs?.accuracy).to.be.greaterThan(0.5);
126126

127127
return disco.trainer.model.weights;
128128
}

0 commit comments

Comments
 (0)