public class ZCurveTransformer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
dimensionality
Dimensionality.
|
private double[] |
maxValues
Maximum values in each dimension.
|
private double[] |
minValues
Minimum values in each dimension.
|
Constructor and Description |
---|
ZCurveTransformer(Relation<? extends NumberVector> relation,
DBIDs ids)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
asByteArray(NumberVector vector)
Transform a single vector.
|
private final double[] maxValues
private final double[] minValues
private final int dimensionality
public ZCurveTransformer(Relation<? extends NumberVector> relation, DBIDs ids)
relation
- Relation to transformids
- IDs subset to processpublic byte[] asByteArray(NumberVector vector)
vector
- Vector to transformCopyright © 2019 ELKI Development Team. License information.