OpenMined / TenSEAL

A library for doing homomorphic encryption operations on tensors
Apache License 2.0
804 stars 155 forks source link

Linear Regression Using Tenseal #413

Open srinu1093 opened 2 years ago

srinu1093 commented 2 years ago

Hello,

In the tutorials Logistic Regression model is built using the Tenseal for a Classification problem. I'm planning to implement with Linear Regression using Tenseal for a Regression Dataset. I'm achieving a good accuracy score for the first 2 parts i.e. 1. Linear Regression model built with Plain data and tested on the plain data, 2. Encrypted Evaluation. But for the 3rd main part where we are building the model on top of Encrypted Data getting various issues. How Can I replace the existing sigmoid function in the encrypted model to something else so that the model works fines on top of the Encrypted data and gives good results?

Thanks in Advance!!!

HibaHajar commented 11 months ago

https://github.com/OpenMined/TenSEAL/blob/main/tutorials/Tutorial%201%20-%20Training%20and%20Evaluation%20of%20Logistic%20Regression%20on%20Encrypted%20Data.ipynb this tutoriel can help u