Skip to content

Commit

Permalink
Merge pull request #14 from ZKStats/data-commitment
Browse files Browse the repository at this point in the history
solve median, propagate 'selected_columns'
  • Loading branch information
mhchia authored Feb 7, 2024
2 parents ac136e9 + 6b27ac8 commit 416d229
Show file tree
Hide file tree
Showing 10 changed files with 569 additions and 577 deletions.
124 changes: 62 additions & 62 deletions examples/correlation/correlation.ipynb

Large diffs are not rendered by default.

132 changes: 65 additions & 67 deletions examples/geomean/geomean.ipynb

Large diffs are not rendered by default.

106 changes: 52 additions & 54 deletions examples/harmomean/harmomean.ipynb

Large diffs are not rendered by default.

159 changes: 75 additions & 84 deletions examples/mean+median/mean+median.ipynb

Large diffs are not rendered by default.

119 changes: 62 additions & 57 deletions examples/mean/mean.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/mean/mean_OG.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
" return (torch.tensor(1), torch.mean(X))\n",
" # return (torch.abs(torch.sum(X)-X.size()[1]*(self.w))<=torch.abs(0.01*X.size()[1]*self.w), self.w)\n",
"\n",
"verifier_define_calculation(dummy_data_path, ['col_name'],sel_dummy_data_path,verifier_model, verifier_model_path)"
"verifier_define_calculation(dummy_data_path, selected_columns,sel_dummy_data_path,verifier_model, verifier_model_path)"
]
},
{
Expand Down Expand Up @@ -320,7 +320,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.0"
"version": "3.11.4"
},
"orig_nbformat": 4
},
Expand Down
144 changes: 69 additions & 75 deletions examples/median/median.ipynb

Large diffs are not rendered by default.

148 changes: 79 additions & 69 deletions examples/mode/mode.ipynb

Large diffs are not rendered by default.

106 changes: 52 additions & 54 deletions examples/pstdev/pstdev.ipynb

Large diffs are not rendered by default.

104 changes: 51 additions & 53 deletions examples/pvariance/pvariance.ipynb

Large diffs are not rendered by default.

0 comments on commit 416d229

Please sign in to comment.