Projector

class squirro.lib.nlp.steps.projectors.Projector(config)

Bases: squirro.lib.nlp.steps.batched_step.BatchedStep

The Projector step projects from one vector space to another. The usual result is that vectors of numbers become smaller vectors of numbers, and thus easier to work with.

Parameters
  • step (str) – projector

  • type (str) – Type of Projector

  • input_field (str) – Field to project

  • output_field (str) – Field to write projection