public class InteractionWrappedVec extends Vec
Modifier and Type | Class and Description |
---|---|
static class |
InteractionWrappedVec.InteractionWrappedChunk |
Vec.ESPC, Vec.Reader, Vec.VectorGroup, Vec.Writer
Modifier and Type | Field and Description |
---|---|
boolean |
_skipMissing |
boolean |
_standardize |
boolean |
_useAllFactorLevels |
water.fvec.InteractionWrappedVec.GetMeanTask |
t |
_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 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)
The Chunk for a 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 |
getSub(int i) |
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, chunkIdx, chunkKey, chunkKey, copyMeta, elem2ChunkIdx, equals, espc, factor, get_type_str, get_type, getVecKey, group, hashCode, isBad, isBinary, isCategorical, isConst, isInt, isNA, isNumeric, isString, isTime, isUUID, lazy_bins, length, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCon, makeCons, makeCons, makeCopy, makeCopy, makeCopy, makeDoubles, makeRand, makeRepSeq, makeSeq, makeSeq, makeSeq, makeVec, makeVec, makeVec, makeZero, makeZero, makeZero, makeZero, makeZeros, makeZeros, max, maxs, min, mins, naCnt, nChunks, newKey, ninfs, nzCnt, open, pctiles, pinfs, postWrite, preWriting, remove_impl, rollupStatsKey, set, set, set, set, setBad, setDomain, sparseRatio, startRollupStats, startRollupStats, stride, toCategoricalVec, toNumericVec, toString, toStringVec
checksum, makeSchema, readAll, remove, remove, remove, remove, writeAll
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, 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 mean()
Vec
public double sigma()
Vec
public int mode()
Vec
public long[] getBins()
public java.lang.String[] missingDomains()
public Chunk chunkForChunkIdx(int cidx)
Vec
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()