public class UnweightedDiscreteUncertainifier extends AbstractDiscreteUncertainifier<UnweightedDiscreteUncertainObject>
UniformUncertainifier
or
SimpleGaussianUncertainifier
).Modifier and Type | Class and Description |
---|---|
static class |
UnweightedDiscreteUncertainifier.Parameterizer
Parameterization class.
|
inner, maxQuant, minQuant
SYMMETRIC_ID
Constructor and Description |
---|
UnweightedDiscreteUncertainifier(Uncertainifier<?> inner,
int minQuant,
int maxQuant)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FeatureVector.Factory<UnweightedDiscreteUncertainObject,?> |
getFactory()
Get the vector factory used for type information and serialization (if
supported).
|
<A> UnweightedDiscreteUncertainObject |
newFeatureVector(java.util.Random rand,
A array,
NumberArrayAdapter<?,A> adapter)
Generate a new uncertain object.
|
public UnweightedDiscreteUncertainifier(Uncertainifier<?> inner, int minQuant, int maxQuant)
inner
- Inner uncertainifierminQuant
- Minimum number of samplesmaxQuant
- Maximum number of samplespublic <A> UnweightedDiscreteUncertainObject newFeatureVector(java.util.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<UnweightedDiscreteUncertainObject,?> getFactory()
Uncertainifier
Copyright © 2019 ELKI Development Team. License information.