public static class Model.InteractionPair extends Iced<Model.InteractionPair>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_name1 |
java.lang.String |
_name2 |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static Model.InteractionPair[] |
generatePairwiseInteractionsFromList(Frame f,
int... indexes)
Generate all pairwise combinations of the arguments.
|
int |
getV1() |
int |
getV2() |
int |
hashCode() |
boolean |
isNumeric() |
boolean |
needsAllFactorLevels()
Indicates that Interaction should be created from all factor levels
(regardless of the global setting useAllFactorLevels).
|
void |
setNeedsAllFactorLevels(boolean needsAllFactorLevels) |
java.lang.String |
toString() |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public final java.lang.String _name1
public final java.lang.String _name2
public boolean needsAllFactorLevels()
public void setNeedsAllFactorLevels(boolean needsAllFactorLevels)
public static Model.InteractionPair[] generatePairwiseInteractionsFromList(Frame f, int... indexes)
indexes
- An array of column indices.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int getV1()
public int getV2()
public boolean isNumeric()