public class BucketMeta extends Object implements Serializable
Constructor and Description |
---|
BucketMeta(FeatureMeta featureMeta)
Creates an instance of BucketMeta.
|
Modifier and Type | Method and Description |
---|---|
double |
bucketIdToValue(int bucketId)
Returns mean value by bucket id.
|
int |
getBucketId(Double val)
Returns bucket id for feature value.
|
FeatureMeta |
getFeatureMeta() |
void |
setBucketSize(double bucketSize) |
void |
setMinVal(double minVal) |
public BucketMeta(FeatureMeta featureMeta)
featureMeta
- Feature meta.public int getBucketId(Double val)
val
- Value.public double bucketIdToValue(int bucketId)
bucketId
- Bucket id.public void setMinVal(double minVal)
minVal
- Min value.public void setBucketSize(double bucketSize)
bucketSize
- Bucket size.public FeatureMeta getFeatureMeta()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024