rolesΒΆ
A role determines if and how
columns
are handled during the construction of the
DataModel
and used by the feature learning
algorithm (see feature_learning
).
- Example:
data_frame = getml.DataFrame.from_db( name=name, table_name=table_name, conn=conn ) data_frame.set_role( ["store_nbr", "item_nbr"], getml.data.roles.join_key) data_frame.set_role("date", getml.data.roles.time_stamp) data_frame.set_role("units", getml.data.roles.target)
Attributes
Marks categorical columns. |
|
Marks join keys. |
|
Marks numerical columns. |
|
Marks the column(s) we would like to predict. |
|
Marks text columns. |
|
Marks time stamps. |
|
Marks a |
|
Marks a |