Interface DistanceBasedIntrinsicDimensionalityEstimator

    • Method Detail

      • estimate

        <A> double estimate​(A data,
                            NumberArrayAdapter<?,​? super A> adapter,
                            int size)
        Estimate from a distance list.
        Type Parameters:
        A - array type
        Parameters:
        data - Data
        adapter - Array adapter
        size - Length
        Returns:
        Estimated intrinsic dimensionality
      • estimate

        default double estimate​(double[] distances)
        Estimate from a distance list.
        Parameters:
        distances - Distances
        Returns:
        Estimated intrinsic dimensionality
      • estimate

        default double estimate​(double[] distances,
                                int size)
        Estimate from a distance list.
        Parameters:
        distances - Distances
        size - Valid size
        Returns:
        Estimated intrinsic dimensionality
      • estimate

        default <A> double estimate​(A data,
                                    NumberArrayAdapter<?,​? super A> adapter)
        Estimate from a distance list.
        Type Parameters:
        A - array type
        Parameters:
        data - Data
        adapter - Array adapter
        Returns:
        Estimated intrinsic dimensionality
      • countLeadingZeros

        static <A> int countLeadingZeros​(A data,
                                         NumberArrayAdapter<?,​? super A> adapter,
                                         int end)
        Parameters:
        data - Data array
        adapter - Adapter class
        end - Length
        Returns:
        Number of leading zero distances.