The aim of our work is to perform Machine Learning (ML) algorithm, namely Linear Regression, on the ciphertext and evaluate its performance and usability. We use gradient descent in order to find LR coefficient estimates, as this algorithm does not require division.
We used Microsoft SEAL C++ library and its Python wrapper - PySEAL. SEAL uses the Fan-Vercauteren homomorphic encryption scheme - Somewhat Fully Homomorphic scheme.
pip3 install git+https://github.com/Valentyn1997/seal_regression.git
One also needs to install PySEAL Python Library. You can run the following script:
install_pyseal.sh
The basic example of library usage could be found in: main.py.
The perfromance evaluation is in: perfromance_results.ipynb.