public class ZCurveTransformer extends 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 |
---|---|
BigInteger |
asBigInteger(NumberVector<?> vector)
Deprecated.
|
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 process@Deprecated public BigInteger asBigInteger(NumberVector<?> vector)
vector
- Vector to transformpublic byte[] asByteArray(NumberVector<?> vector)
vector
- Vector to transform