Dataset Transformations

class hivegraph.io.transforms.NormalizedDegree(mean: float, std: float)[source]

Bases: BaseTransform

Normalizes the degree of nodes in data to lie in \([-1, 1]\).

Parameters:
  • mean (float) – The mean of the degree distribution.

  • std (float) – The standard deviation of the degree distribution.