public class InteractionWrappedVec extends Vec
Modifier and Type | Class and Description |
---|---|
static class |
InteractionWrappedVec.InteractionWrappedChunk |
Vec.ESPC, Vec.Holder, Vec.Reader, Vec.VectorGroup, Vec.Writer
Modifier and Type | Field and Description |
---|---|
boolean |
_skipMissing |
boolean |
_standardize |
boolean |
_useAllFactorLevels |
water.fvec.InteractionWrappedVec.GetMeanTask |
t |
_cids, _rowLayout, DO_HISTOGRAMS, KEY_PREFIX_LEN, PERCENTILES, T_BAD, T_CAT, T_NUM, T_STR, T_TIME, T_UUID, TYPE_STR
Constructor and Description |
---|
InteractionWrappedVec(Key<Vec> key,
int rowLayout,
java.lang.String[] vec1DomainLimit,
java.lang.String[] vec2DomainLimit,
boolean useAllFactorLevels,
boolean skipMissing,
boolean standardize,
Key<Vec> masterVecKey1,
Key<Vec> masterVecKey2) |
Modifier and Type | Method and Description |
---|---|
Chunk |
chunkForChunkIdx(int cidx)
Map from chunk-index to Chunk.
|
Vec |
doCopy() |
java.lang.String[] |
domain()
Returns the categorical toString mapping array, or null if not an categorical column.
|
int |
expandedLength()
Obtain the length of the expanded (i.e.
|
long[] |
getBins() |
double[] |
getMeans() |
double |
getMul(int i) |
double |
getSigma(int i) |
double |
getSub(int i) |
boolean |
isNumericInteraction() |
Vec |
masterVec() |
double |
mean()
Vecs's mean
|
java.lang.String[] |
missingDomains() |
int |
mode()
Vecs's mode
|
protected Keyed |
readAll_impl(AutoBuffer ab,
Futures fs) |
double |
sigma()
Vecs's standard deviation
|
Vec |
v1() |
java.lang.String[] |
v1Domain() |
Vec |
v2() |
java.lang.String[] |
v2Domain() |
protected AutoBuffer |
writeAll_impl(AutoBuffer ab)
Write out K/V pairs
|
adaptTo, align, at, at16h, at16l, at8, atStr, base, bins, byteSize, cardinality, checksum_impl, chunkForRow, chunkKey, chunkKey, chunkLen, elem2ChunkIdx, equals, espc, factor, get_type_str, get_type, getVecKey, group, hashCode, isBad, isBinary, isBinary, isBinaryOnes, isCategorical, isCompatibleWith, isConst, isConst, isDomainTruncated, isHomedLocally, isInt, isNA, isNumeric, isString, isTime, isUUID, isVolatile, lazy_bins, length, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeConN, makeCons, makeCons, makeCopy, makeCopy, makeCopy, makeDoubles, makeOne, makeOne, makeOnes, makeOnes, makeRand, makeRepSeq, makeSeq, makeSeq, makeSeq, makeTimeVec, makeVec, makeVec, makeVec, makeVec, makeVec, makeVec, makeVolatileDoubles, makeVolatileInts, makeZero, makeZero, makeZero, makeZero, makeZero, makeZeros, makeZeros, max, maxs, min, mins, naCnt, nChunks, nChunksFor, newKey, ninfs, nonEmptyChunks, nzCnt, open, pctiles, pinfs, postWrite, preWriting, remove_impl, remove_self_key_impl, rollupStatsKey, set, set, set, set, set, setBad, setChunkIdx, setDomain, setNA, sparseRatio, startRollupStats, startRollupStats, stride, stringAt, toCategoricalVec, toNumericVec, toString, toStringVec, toTwoDimTable, toTwoDimTable
checksum_impl, checksum, checksum, getKey, makeSchema, readAll, remove_impl, remove, remove, remove, remove, remove, remove, removeQuietly, writeAll
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public boolean _useAllFactorLevels
public boolean _skipMissing
public boolean _standardize
public transient water.fvec.InteractionWrappedVec.GetMeanTask t
public java.lang.String[] v1Domain()
public java.lang.String[] v2Domain()
public java.lang.String[] domain()
Vec
public Vec v1()
public Vec v2()
public int expandedLength()
public double[] getMeans()
public double getSub(int i)
public double getMul(int i)
public double getSigma(int i)
public boolean isNumericInteraction()
public double mean()
Vec
public double sigma()
Vec
public int mode()
Vec
public long[] getBins()
public java.lang.String[] missingDomains()
public Chunk chunkForChunkIdx(int cidx)
protected AutoBuffer writeAll_impl(AutoBuffer ab)
Vec
writeAll_impl
in class Vec
protected Keyed readAll_impl(AutoBuffer ab, Futures fs)
readAll_impl
in class Vec
public Vec masterVec()