datatable.models.Ftrl.interactions¶
interactions
interactions
The feature interactions to be used for model training. This option is read-only for a trained model.
Parameters¶
return
TupleCurrent interactions value.
newinteractions
List[List[str] | Tuple[str]] | Tuple[List[str] | Tuple[str]]New interactions value. Each particular interaction
should be a list or a tuple of feature names, where each feature
name is a column name from the training frame.
except
ValueErrorThe exception is raised when
trying to change this option for a model that has already been trained;
one of the interactions has zero features.
except
TypeErrorThe exception is raised when newinteractions has a wrong type.