public static class Model.InteractionPair extends Iced<Model.InteractionPair>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static Model.InteractionPair[] |
generatePairwiseInteractionsFromList(int... indexes)
Generate all pairwise combinations of the arguments.
|
int |
getV1() |
int |
getV2() |
int |
hashCode() |
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, toJsonString, write, writeExternal, writeJSON
public boolean needsAllFactorLevels()
public void setNeedsAllFactorLevels(boolean needsAllFactorLevels)
public static Model.InteractionPair[] generatePairwiseInteractionsFromList(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()