Class UnweightedDiscreteUncertainifier

    • Constructor Detail

      • UnweightedDiscreteUncertainifier

        public UnweightedDiscreteUncertainifier​(Uncertainifier<?> inner,
                                                int minQuant,
                                                int maxQuant)
        Constructor.
        Parameters:
        inner - Inner uncertainifier
        minQuant - Minimum number of samples
        maxQuant - Maximum number of samples
    • Method Detail

      • newFeatureVector

        public <A> UnweightedDiscreteUncertainObject newFeatureVector​(java.util.Random rand,
                                                                      A array,
                                                                      NumberArrayAdapter<?,​A> adapter)
        Description copied from interface: Uncertainifier
        Generate a new uncertain object. This interface is specialized to numerical arrays. The generics allow the use with primitive double[] arrays:
         UO obj = newFeatureVector(array, ArrayLikeUtil.DOUBLEARRAYADAPTER);
         
        Type Parameters:
        A - Array type
        Parameters:
        rand - Random generator
        array - Array
        adapter - Array type adapter
        Returns:
        Uncertain object