Open huyvu1404 opened 1 month ago
Sorry for reply late, you can approximate the sigmoid function with a polynomial within a limited range. Here is an example.
Sorry for reply late, you can approximate the sigmoid function with a polynomial within a limited range. Here is an example.
I've referred that example. However, the author only used CKKS. One solution I read about is to scale the real numbers into integers by multiply them with scale factor p and then scale them back down to the original values, but I am having difficulty with the scaling down part
You may need re-encrypt it, there is no bootstrapping in the SEAL.
You may need re-encrypt it, there is no bootstrapping in the SEAL.
Thannks for your help.
You may need re-encrypt it, there is no bootstrapping in the SEAL.
If there is no bootstrapping, Is there a way to refresh noise? I have tried mod switch but it is not very feasible
I am building a Logistic Regression model based on this paper using BFV scheme : https://eprint.iacr.org/2018/462.pdf However, I could not complete it, because of its floating point number in approximate sigmoid function and learning rate. I've read suggestion of author to use bscale function that is combined in bootstrap and scale. I hope you help me to explain explicit this function. I honestly thanks for your help.![image](https://github.com/Huelse/SEAL-Python/assets/85333263/63289dec-ee7b-4129-a669-c320b092922f)