Shokofeh VahidianSadegh

Results 29 comments of Shokofeh VahidianSadegh

AttributeError: 'Pyfhel.PyCtxt.PyCtxt' object has no attribute 'save_size' ( Pyfhel 2.3.1) > If needed, `save_size` could be easily exposed for individual `PyCtxt` objects.

> I said it could! Currently it is not implemented, but I can do it if you deem it necessary > […](#) > On Sun, 14 Aug 2022, 17:53 Shokofeh...

Thank you for your response. Below is the implementation of Cheng and Church biclustering algorithm with homomorphic encryption (the original algorithm can be found in [https://github.com/padilha/biclustlib/blob/master/biclustlib/algorithms/cca.py](url) ): ```Python def _calculate_msr(self,...

Thank you! 1. Pyfhel.contextGen(p=65537, m=2048, flagBatching=True, base=2, intDigits=64, fracDigits=3) 2. np.sum(arr_sub_data) and 1/len(arr_sub_data) are generating a true results but the multiplication result unexpectedly is by far very different: np.sum(arr_sub_data) *...

I understand that increasing the size of fracDigit is of paramount importance. On the other hand, after `enc_squared_residues = enc_residues ** 2` in which Pyhfel Ciphertext's noiseBuget is zero `encoding=FRACTIONAL,...

Thank you, I will check the parameter by which the issue might be solved.

After trying different parameters: `p=65537, m=4096,flagBatching=True, base=2, intDigits=16, fracDigits=32`; getting mean values over either axis 0 or 1 is working properly. However, right after squaring (`enc_squared_residues`), the mean value across...

Thank you for your response. I will have to look in detail as maybe the problem is not related to HE parameters.

I would like to add that in the aboved-mentioned piece of code, my problem was diving sum of ciphertext to its length. Further, I have implementation of mean values by...

Perfect! looking forward to hearing from you.