Noise Handler API

class core_sg.noise_handler.NoiseHandler(c=5)
Parameters:

c (int)

abstractmethod reassign(*, labels, min_spanning_tree, n_samples)

Return a reassigned copy of the label vector.

Return type:

ndarray

Parameters:
  • labels (ndarray)

  • min_spanning_tree (ndarray)

  • n_samples (int)

class core_sg.noise_handler.MSTLabelPropagationStrategy(c=5)
Parameters:

c (int)

reassign(*, labels, min_spanning_tree, n_samples)

Return a reassigned copy of the label vector.

Return type:

ndarray

Parameters:
  • labels (ndarray)

  • min_spanning_tree (ndarray)

  • n_samples (int)