tff.analytics.count_distinct.create_federated_hyperloglog_computation

Creates a tff.Computation to estimate the number of distinct strings.

The returned computation consumes data @CLIENTS and produces an estimate of the number of unique words across all clients @SERVER.

use_secagg Flag to specify if secure aggregation is necessary when computing the hyperloglog sketch.

A tff.Computation for running the HyperLogLog algorithm.