includeΒΆ

Columns marked with a subrole in this submodule will be used for the specified purpose without excluding other purposes.

Example:
# The Substring preprocessor will be applied to this column.
# But other preprocessors, feature learners or predictors
# are not excluded from using it as well.
my_data_frame.set_subroles(
    "ucc", getml.data.subroles.include.substring)

Attributes

email

A column with this subrole will be used for the EmailDomain preprocessor.

substring

A column with this subrole will be used for the Substring preprocessor.