public abstract class BootstrappedVectorsHistogram extends ObjectHistogram<BootstrappedVector>
Modifier and Type | Field and Description |
---|---|
protected Set<Integer> |
bucketIds
Bucket ids.
|
protected BucketMeta |
bucketMeta
Bucket meta.
|
protected int |
featureId
Feature id.
|
Constructor and Description |
---|
BootstrappedVectorsHistogram(Set<Integer> bucketIds,
BucketMeta bucketMeta,
int featureId)
Creates an instance of BootstrappedVectorsHistogram.
|
Modifier and Type | Method and Description |
---|---|
Integer |
mapToBucket(BootstrappedVector vec)
Bucket mapping.
|
addElement, buckets, computeDistributionFunction, getValue, isEqualTo, mapToCounter, newInstance, plus
protected final BucketMeta bucketMeta
protected final int featureId
public BootstrappedVectorsHistogram(Set<Integer> bucketIds, BucketMeta bucketMeta, int featureId)
bucketIds
- Bucket ids.bucketMeta
- Bucket meta.featureId
- Feature Id.public Integer mapToBucket(BootstrappedVector vec)
mapToBucket
in class ObjectHistogram<BootstrappedVector>
vec
- Object.
GridGain In-Memory Computing Platform : ver. 8.9.4 Release Date : April 16 2024