gammagl.models.GEstimationN¶
- class GEstimationN(data)[source]¶
Provide adjacency matrix estimation implementation based on the Expectation-Maximization(EM) algorithm.
- Parameters:
E (numpy.array)
nodes. (The actual observed number of edges between every pair of)
- E_step(Q)[source]¶
Run the Expectation(E) step of the EM algorithm.
- Parameters:
Q (numpy.array) – The current estimation that each edge is actually present
- Returns:
alpha (float) – The estimation of true-positive rate
beta (float) – The estimation of false-positive rate
O (numpy.array) – The estimation of network model parameters