AggregatorPsiManager#

class AggregatorPsiManager#

Aggregator side of the PSI for federated learning module.

get_verbosity(self: pyhelayers.AggregatorPsiManager) pyhelayers.Verbosity#

Get the Verbosity level.

rearrange_indicator_vector(self: pyhelayers.AggregatorPsiManager, indicator_vector: pyhelayers.CTileTensor, mapping: numpy.ndarray[numpy.uint64]) pyhelayers.CTileTensor#

Rearranges the indicators vector produced in the PSI process according to the mapping sent by the first client.

Parameters:
  • indicator_vector – The indicators vector to rearrange

  • mapping – The mapping by which the aggregator needs to rearrange the indicators vector

set_verbosity(self: pyhelayers.AggregatorPsiManager, verbosity: pyhelayers.Verbosity) None#

Sets the verbosity level.

Parameters:

verbosity – Verbosity level