anchor_python_visualization.projection.projector

Abstract base class for projection method.

Module Contents

Classes

Projector

Projects the feature-space to lower dimensionality.

class anchor_python_visualization.projection.projector.Projector[source]

Bases: abc.ABC

Projects the feature-space to lower dimensionality.

project(features: pandas.DataFrame) pandas.DataFrame[source]

Performs projection, while preserving a data-frame with identical row names.

Parameters:
  • features – data_frame containing only numerical embeddings (as columns) and with labelled

  • row.names

Returns:

a data-frame of embeddings with identical order and row names, but changed columns.