gnes.encoder.numeric.pca module

class gnes.encoder.numeric.pca.PCALocalEncoder(output_dim: int, num_locals: int, *args, **kwargs)[source]

Bases: gnes.encoder.base.BaseNumericEncoder

batch_size = 2048
encode(vecs: numpy.ndarray, *args, **kwargs) → numpy.ndarray[source]
train(vecs: numpy.ndarray, *args, **kwargs) → None[source]

Train the model, need to be overrided