assembly.expected_random_overlap

assembly.expected_random_overlap(n, k)[source]

Computes the expected overlap of binomial sampled random vectors.

Parameters
nint

The total number of neurons.

kint

The number of active neurons.

Returns
float

The expected random overlap.