TextRole

class lightautoml.dataset.roles.TextRole(dtype=<class 'str'>, force_input=True)[source]

Bases: ColumnRole

Text role.

Parameters:
  • dtype (Union[Callable, type, str]) – Variable type.

  • force_input (bool) – Select a feature for training, regardless of the selector results.