public class WeightedDiscreteUncertainifier extends AbstractDiscreteUncertainifier<WeightedDiscreteUncertainObject>
UniformUncertainifier
or
SimpleGaussianUncertainifier
).Modifier and Type | Class and Description |
---|---|
static class |
WeightedDiscreteUncertainifier.Parameterizer
Parameterization class.
|
inner, maxQuant, minQuant
SYMMETRIC_ID
Constructor and Description |
---|
WeightedDiscreteUncertainifier(Uncertainifier<?> inner,
int minQuant,
int maxQuant)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FeatureVector.Factory<WeightedDiscreteUncertainObject,?> |
getFactory()
Get the vector factory used for type information and serialization (if
supported).
|
<A> WeightedDiscreteUncertainObject |
newFeatureVector(Random rand,
A array,
NumberArrayAdapter<?,A> adapter)
Generate a new uncertain object.
|
public WeightedDiscreteUncertainifier(Uncertainifier<?> inner, int minQuant, int maxQuant)
inner
- Inner uncertainifierminQuant
- Minimum number of samplesmaxQuant
- Maximum number of samplespublic <A> WeightedDiscreteUncertainObject newFeatureVector(Random rand, A array, NumberArrayAdapter<?,A> adapter)
Uncertainifier
double[]
arrays:
UO obj = newFeatureVector(array, ArrayLikeUtil.DOUBLEARRAYADAPTER);
A
- Array typerand
- Random generatorarray
- Arrayadapter
- Array type adapterpublic FeatureVector.Factory<WeightedDiscreteUncertainObject,?> getFactory()
Uncertainifier
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.