Class ExactIntervalAugSpaceSampler
- java.lang.Object
-
- ai.libs.jaicore.ml.weka.rangequery.AbstractAugmentedSpaceSampler
-
- ai.libs.jaicore.ml.weka.rangequery.ExactIntervalAugSpaceSampler
-
- All Implemented Interfaces:
IAugmentedSpaceSampler
public class ExactIntervalAugSpaceSampler extends AbstractAugmentedSpaceSampler
Samples interval-valued data from a dataset of precise points. First chooses two precise points of random to define an interval. Then finds all other points that lie in this interval to generate the interval-valued point in the augmented space. May be very inefficient for even medium-sized datasets.
-
-
Constructor Summary
Constructors Constructor Description ExactIntervalAugSpaceSampler(weka.core.Instances preciseInsts, java.util.Random rng)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description weka.core.InstanceaugSpaceSample()Generates a point in the augmented space from the AugmentedSpaceSampler's precise dataset.-
Methods inherited from class ai.libs.jaicore.ml.weka.rangequery.AbstractAugmentedSpaceSampler
generateAugPoint, getPreciseInsts, getRng
-
-
-
-
Method Detail
-
augSpaceSample
public weka.core.Instance augSpaceSample()
Description copied from interface:IAugmentedSpaceSamplerGenerates a point in the augmented space from the AugmentedSpaceSampler's precise dataset.- Returns:
- A point in the augmented space consisting of upper and lower bounds for each attribute, including the target.
-
-