Latu.ML.Transformer (latu_ml v0.2.0)

Copy Markdown View Source

A transformer that needs no fitting — VectorAssembler and its kind.

Latu.ML.transform/2 applies one, and because a Transform is a relation and not a command, applying it reaches no server: the frame it hands back is lazy like any other.

Summary

Functions

A transformer the registry does not know, by its JVM class name.

Types

t()

@type t() :: %Latu.ML.Transformer{
  class: String.t(),
  known: [Latu.ML.Param.t()],
  params: [Latu.ML.Plan.param()],
  uid: String.t()
}

Functions

new(class, opts \\ [])

@spec new(String.t(), keyword()) :: t()

A transformer the registry does not know, by its JVM class name.

See Latu.ML.Estimator.new/2; the same caveats apply.

Options

  • :params — the params to send, already in wire form. Defaults to [].
  • :uid — the uid to send. Defaults to a generated one in PySpark's shape.