athena.graph_builder.radius_graph_builder module¶
Reference¶
-
class
RadiusGraphBuilder
(config)[source]¶ Bases:
athena.graph_builder.base_graph_builder.BaseGraphBuilder
Radius graph class for graph building.
-
__init__
(config)[source]¶ Build topology using a radius algorithm based on the distance between the centroid of the nodes.
- Parameters
config (
dict
) – dict specifying graph builder params
Examples
config = {‘builder_params’: {‘radius’: 36, ‘mode’:’connectivity’, ‘metric’:’minkowski’, ‘p’:2, ‘n_jobs’:-1}}
-