public class CompressedIsolationTree extends water.Keyed<CompressedIsolationTree>
Constructor and Description |
---|
CompressedIsolationTree(int heightLimit) |
Modifier and Type | Method and Description |
---|---|
double |
computePathLength(double[] row)
Implementation of Algorithm 3 (pathLength) from paper.
|
AbstractCompressedNode[] |
getNodes() |
byte[] |
toBytes()
The structure of the bytes is:
sizeOfInternalArrays -> size of random slope and intercept (size of both is always equal)
nodeNumber -> index of the node in the array, byte arrays always starts with the root and ends with some
leaf.
|
checksum_impl, checksum_impl, checksum, checksum, getKey, makeSchema, readAll_impl, readAll, remove_impl, remove_impl, remove_self_key_impl, remove, remove, remove, remove, remove, remove, removeQuietly, writeAll_impl, writeAll
public AbstractCompressedNode[] getNodes()
public double computePathLength(double[] row)
row
- a row of the input datapublic byte[] toBytes()