Realtor

class thema.expansion.realtor.Realtor(target_vector, graph, node_features, group_features)[source]

Bases: object

Find a the best location for an incoming target node in the cosmic neighborhood.

node_docking(metric='euclidean')[source]
random_walk(n_samples=1000, m_steps=1000, metric='euclidean')[source]

A MCMC inspired method for obtaining a collection of node locations from a distribution considering both graph structure and feature differences.