Comments (4)
Ah, oops. We should have called that std::isinf. A fix is on the way.
from differential-privacy.
Hey uishi:
I work at Google with dasmdasm. I was wondering if I can have a chat with you to learn more about your usage of the library. We are looking for stories of our users to understand more about its usage.
If you're open to a chat, let me know how can I reach you.
Best
from differential-privacy.
Hey I am also getting the same error
bash_prompt:~/differential-privacy/cc$ sudo bazel build ...
INFO: Analyzed 56 targets (0 packages loaded, 0 targets configured).
INFO: Found 56 targets...
ERROR: /home/user/differential-privacy/cc/algorithms/BUILD:37:8: C++ compilation of rule '//algorithms:algorithm_test' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 76 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./algorithms/algorithm.h:27:0,
from algorithms/algorithm_test.cc:17:
./algorithms/numerical-mechanisms.h: In member function 'double differential_privacy::GaussianMechanism::CalculateDelta(double, double)':
./algorithms/numerical-mechanisms.h:517:9: error: 'isinf' was not declared in this scope
if (isinf(b)) {
^~~~~
./algorithms/numerical-mechanisms.h:517:9: note: suggested alternative:
In file included from external/com_google_absl/absl/hash/internal/hash.h:24:0,
from external/com_google_absl/absl/hash/hash.h:73,
from external/com_google_absl/absl/container/internal/hash_function_defaults.h:55,
from external/com_google_absl/absl/container/node_hash_map.h:45,
from ./base/status.h:26,
from ./algorithms/algorithm.h:26,
from algorithms/algorithm_test.cc:17:
/usr/include/c++/7/cmath:612:5: note: 'std::isinf'
isinf(_Tp __x)
^~~~~
INFO: Elapsed time: 3.169s, Critical Path: 2.98s
INFO: 9 processes: 9 linux-sandbox.
FAILED: Build did NOT complete successfully
I found this thread here, maybe it may be of some help...
https://github.com/facebookresearch/Starspace/issues/34#issuecomment-329561079
from differential-privacy.
This was fixed with 0b0a5c2
from differential-privacy.
Related Issues (20)
- > Is there a plan to address this:loating-point implementations are subject to the vulnerabilities described in [Casacuberta et al. "Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix it"](https://arxiv.org/abs/2207.10635) (specifically the rounding, repeated rounding, and re-ordering attacks). HOT 1
- Updated Maven artifacts? HOT 6
- Google Colab ? HOT 3
- SQL Queries HOT 4
- Why the privacy-on-beam is not implemented by java? HOT 1
- Implementing a custom noisy threshold HOT 3
- Making the Introduction of the Readme Section Easier to Read and Understand HOT 3
- Do ZetaSQL examples supports JOIN queries? HOT 4
- Invalid uses of `list` type HOT 1
- Invalid use of `list` type should be `typing.List` HOT 5
- Relax dependency for scipy~=1.7.1 in dp_accounting HOT 2
- run `bazelisk build execute_query` failed HOT 5
- bazel build excute_query with "linkopts = ["-static"]", and the output binary does not work as expected HOT 22
- Maven artifact with LongBoundedSum HOT 3
- postgres extension docker build failed HOT 4
- install postgres extension failed with `./postgres/install_extension.sh` HOT 2
- .
- Feature: Bounded Laplace Mechanism ("bounded domain") HOT 5
- Feature: Support approximate bounds algorithm HOT 2
- Approximate bound maxContributions parameter HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from differential-privacy.