TargetRole

class lightautoml.dataset.roles.TargetRole(dtype=numpy.float32)[source]

Bases: lightautoml.dataset.roles.ColumnRole

Target role.

__init__(dtype=numpy.float32)[source]

Create target role with specific numeric dtype.

Parameters

dtype (Union[Callable, str]) – Dtype of target.