Skip to content

SupervisedTransformer

A supervised transformer.

Methods

learn_one

Update with a set of features x and a target y.

Parameters

  • x (dict)
  • y (Union[bool, str, int, numbers.Number])

Returns

SupervisedTransformer: self

transform_one

Transform a set of features x.

Parameters

  • x (dict)

Returns

dict: The transformed values.