Commit Graph

75 Commits

Author SHA1 Message Date
mhchia
caa0a0b6d9 rename 'verifier_setup' to 'setup' 2024-02-19 22:17:08 +08:00
mhchia
5c9b5a9c5b docs: elaborate readme 2024-02-19 22:11:09 +08:00
mhchia
80b3231cb3 add docstrings for computation 2024-02-14 17:56:31 +08:00
mhchia
01be09be53 fix: use nn.Parameter for private params 2024-02-14 16:08:22 +08:00
mhchia
e33f91f85e change error larger and mark it FIXME 2024-02-13 01:45:41 +08:00
mhchia
9b6071a75b change back data.json in examples/correlation 2024-02-13 01:37:05 +08:00
mhchia
cfa6781816 test: change computation test for more operations 2024-02-13 01:32:18 +08:00
mhchia
91baca5530 feat: add linear_regression 2024-02-12 16:22:07 +08:00
mhchia
ce2e32f27c feat: support operations except regression 2024-02-08 22:42:40 +08:00
mhchia
78b78b8568 remove check for 2 outputs 2024-02-08 22:41:48 +08:00
Kevin Mai-Husan Chia
416d2297be Merge pull request #14 from ZKStats/data-commitment
solve median, propagate 'selected_columns'
2024-02-07 12:12:29 +08:00
JernKunpittaya
6b27ac8de5 solve median, propagate 'selected_columns' 2024-02-06 21:32:52 +07:00
mhchia
ac136e9c6b update examples 2024-02-03 14:33:27 +08:00
mhchia
b9e8977294 fix bugs 2024-02-03 14:33:17 +08:00
mhchia
662b5bd46d test: add simple tests for data commitment and integration 2024-02-02 15:40:11 +08:00
mhchia
d7468bebcc fix: data commitment generation 2024-02-02 00:40:24 +08:00
mhchia
6163e88c75 fix: parse data commitments correctly 2024-02-01 22:52:51 +08:00
mhchia
dd7973aa3d fix: make cli work again with new computation ui 2024-02-01 22:50:37 +08:00
Kevin Mai-Husan Chia
e3e10168b6 Merge pull request #12 from ZKStats/dev
onefile format, benchmark (w/readme + optimized logrow)
2024-02-01 19:46:35 +08:00
mhchia
a4a552a74c fix: tests, rename createDummy, restore verifier_verify, remove zkstats_onefile 2024-02-01 19:15:02 +08:00
JernKunpittaya
0b35ce585e Merge branch 'main' into dev 2024-01-31 12:15:35 +07:00
JernKunpittaya
939d2cec32 benchmark + optimize logrow 2024-01-31 10:11:10 +07:00
JernKunpittaya
702c3d4665 onefile in examples 2024-01-25 22:43:15 +07:00
JernKunpittaya
de47bb0da0 onefile, json table 2024-01-24 15:08:58 +07:00
JernKunpittaya
adffa15f3d Merge pull request #5 from mhchia/feat/user-interface
Let user define computation in functions
2024-01-24 14:40:36 +07:00
mhchia
9cc9c62f20 test: add tests for op and computation, and refactor 2024-01-24 15:22:07 +08:00
mhchia
ad3666cd07 fix: make mean's output a scalar instead of a 2d array
To ensure `lower` and `upper` are a scalar, `x` must be a 1d array.
Otherwise, if `x` is a 3d array, `lower` and `upper` will be 2d array, which are not what
we want in our context. However, we tend to have x as a `[1, len(x), 1]`. In this case,
we need to flatten `x` to 1d array to get the correct `lower` and `upper`.
2024-01-24 15:22:07 +08:00
mhchia
b105fca866 remove comments 2024-01-24 15:22:06 +08:00
mhchia
2f2944b269 feat: remove booleans from user defined computation 2024-01-24 15:22:06 +08:00
mhchia
dcf8576edc fix wrong type and use correct types 2024-01-24 15:22:06 +08:00
mhchia
ea2612d939 feat: remove unused models and add comments 2024-01-24 15:22:05 +08:00
mhchia
44f8db99bc feat: let user define computation in functions 2024-01-24 15:22:04 +08:00
JernKunpittaya
11cccb80ce Merge pull request #11 from ZKStats/ci/with-new-template
Add initial CI
2024-01-24 13:54:57 +07:00
mhchia
0ee31303c0 test: initial 2024-01-22 17:33:02 +08:00
Kevin Mai-Husan Chia
56e2f3cdb1 ci: create test.yml 2024-01-22 17:29:28 +08:00
JernKunpittaya
35b5b3d278 onefile table 2024-01-19 13:35:36 +07:00
Kevin Mai-Husan Chia
82999e656d Merge pull request #4 from ZKStats/where
where regression, mean, geo, stdev
2024-01-10 12:29:02 +08:00
JernKunpittaya
457ba915ca mean+median 2024-01-09 16:31:21 +07:00
JernKunpittaya
0505fbaee5 where regression, mean, geo, stdev 2024-01-09 15:03:53 +07:00
JernKunpittaya
d82af48483 Merge pull request #3 from mhchia/fix/cli-and-add-more
Fix existing cli and add more
2024-01-09 14:47:25 +07:00
mhchia
7d9caaa39e fix: where-regression failed 2024-01-08 17:14:12 +08:00
mhchia
8895984da1 fix(cli): use latest core functions and add more clis 2024-01-08 17:11:49 +08:00
JernKunpittaya
8fe93d0485 Merge pull request #2 from ZKStats/where
fix geomean
2024-01-06 17:29:42 +07:00
JernKunpittaya
90a68c2ce5 where examples with statistics 2024-01-06 17:28:17 +07:00
JernKunpittaya
6db581f238 fix geomean 2024-01-05 18:20:37 +07:00
JernKunpittaya
8aaf77d4fb benchmark one_column + graph 2023-12-28 20:46:38 +07:00
JernKunpittaya
f7c8674ef6 ezkl 7.0.0, refine median + mode 2023-12-27 17:54:03 +07:00
Kevin Mai-Husan Chia
76787b7707 Merge pull request #1 from ZKStats/feat/cli
Add cli and refactor
2023-12-13 00:29:15 +08:00
Kevin Mai-Husan Chia
7b00483ed7 Merge branch 'main' into feat/cli 2023-12-13 00:28:59 +08:00
mhchia
e9f557fddd verify proofs in prove 2023-12-12 22:52:58 +08:00