public class FactorInteraction extends java.lang.Object implements Term
| Constructor and Description |
|---|
FactorInteraction(java.lang.String... factors)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Feature> |
bind(StructType schema)
Binds the term to a schema.
|
int |
size()
Returns the number of factors in the interaction.
|
java.lang.String |
toString() |
java.util.Set<java.lang.String> |
variables()
Returns the list of variables used in this term.
|
public FactorInteraction(java.lang.String... factors)
factors - the factors of interaction.public int size()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Set<java.lang.String> variables()
Termpublic java.util.List<Feature> bind(StructType schema)
Term