src.Projections.Python.Transformer.UMAPTransformer module¶
-
class
src.Projections.Python.Transformer.UMAPTransformer.UMAPTransformer¶ Bases:
src.Projections.Python.Transformer.ProjectionTransformer.ProjectionTransformerThe Transformer
- Parameters
t (Transformer) – General interface for transformers
-
alignTransformedSets(transformed, prevTransformedSharedPoints)¶
-
alignWithOrigin(transformed, getSharedPoints)¶
-
clearVariables()¶ Clear all variables
-
transformAndToGRPC(pointBuffer)¶ Transform and create the gRPC messages
- Parameters
pointBuffer ([hdvector]) – The list of the actual word vectors in
- Returns
list of points to be returned to main applications
- Return type
-
src.Projections.Python.Transformer.UMAPTransformer.printMessage(message)¶ Print the coloured message so that we can see in the output which microservice printed it
- Parameters
message (string) – The actual message
-
src.Projections.Python.Transformer.UMAPTransformer.serveServer()¶ Setup the GRPC server