Uses of Class
adams.data.binning.Bin
-
Packages that use Bin Package Description adams.data.binning adams.data.binning.algorithm adams.data.binning.operation adams.data.binning.postprocessing -
-
Uses of Bin in adams.data.binning
Methods in adams.data.binning that return Bin Modifier and Type Method Description Bin<T>Bin. getClone()Returns a clone of the object.Methods in adams.data.binning with parameters of type Bin Modifier and Type Method Description intBin. compareTo(Bin<T> o)Uses the index of the bin for comparison.voidBin. mergeWith(Bin<T> other)Merges its own data with the one provided by the specified object. -
Uses of Bin in adams.data.binning.algorithm
Methods in adams.data.binning.algorithm that return types with arguments of type Bin Modifier and Type Method Description protected abstract <T> List<Bin<T>>AbstractBinningAlgorithm. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>AbstractEqualWidthBinningAlgorithm. doGenerateBins(double min, double max, double binWidth)Generates bins with the specified width.protected <T> List<Bin<T>>AbstractEqualWidthBinningAlgorithm. doGenerateBins(double min, double max, int numBins)Generates equal-width bins.protected <T> List<Bin<T>>AbstractEqualWidthBinningAlgorithm. doGenerateBins(com.github.fracpete.javautils.struct.Struct2<Double,Double> minMax, double binWidth)Generates bins with the specified width.protected <T> List<Bin<T>>AbstractEqualWidthBinningAlgorithm. doGenerateBins(com.github.fracpete.javautils.struct.Struct2<Double,Double> minMax, int numBins)Generates equal-width bins.protected <T> List<Bin<T>>AbstractEqualWidthBinningAlgorithm. doGenerateBins(List<Binnable<T>> objects, double binWidth)Generates bins with the specified width.protected <T> List<Bin<T>>AbstractEqualWidthBinningAlgorithm. doGenerateBins(List<Binnable<T>> objects, int numBins)Generates equal-width bins.protected <T> List<Bin<T>>DensityBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>FreedmanDiaconisChoiceBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>FrequencyBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>ManualBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>NoBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>RiceRuleBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>ScottsNormalReferenceRuleBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>SquareRootChoiceBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.protected <T> List<Bin<T>>SturgesFormulaBinning. doGenerateBins(List<Binnable<T>> objects)Performs the actual bin generation on the provided objects.<T> List<Bin<T>>AbstractBinningAlgorithm. generateBins(List<Binnable<T>> objects)Performs the bin generation on the provided objects.<T> List<Bin<T>>BinningAlgorithm. generateBins(List<Binnable<T>> objects)Performs the bin generation on the provided objects.Method parameters in adams.data.binning.algorithm with type arguments of type Bin Modifier and Type Method Description protected <T> voidAbstractBinningAlgorithm. fillBins(List<Bin<T>> bins, List<Binnable<T>> objects)Places the binnable objects in the respective bins. -
Uses of Bin in adams.data.binning.operation
Methods in adams.data.binning.operation that return types with arguments of type Bin Modifier and Type Method Description static <T> List<Bin<T>>Copy. copyBins(List<Bin<T>> bins, Copy.CopyType type)Generates a copy.static <T> List<Bin<T>>Randomize. randomizeBins(List<Bin<T>> bins, long seed)Randomizes the data in the bins in-place.static <T> List<Bin<T>>Randomize. randomizeBins(List<Bin<T>> bins, Random random)Randomizes the data in the bins in-place.static <T> List<Bin<T>>Bins. useBinIndex(List<Bin<T>> bins)Pushes the bin index into the binnable as value to use.Method parameters in adams.data.binning.operation with type arguments of type Bin Modifier and Type Method Description static <T> List<double[]>Bins. binnableValues(List<Bin<T>> bins)Collects the binnable values from each bin and returns them as array per bin.static <T> int[]Bins. binSizes(List<Bin<T>> bins)Returns the size of the bins.static <T> List<Bin<T>>Copy. copyBins(List<Bin<T>> bins, Copy.CopyType type)Generates a copy.static <T> List<Binnable<T>>Discretize. discretize(List<Bin<T>> bins)Uses the bin list index as new value for the binnable items.static <T> List<Binnable<T>>Bins. flatten(List<Bin<T>> bins)Flattens the bins back into a list of binnables in the order of the bins.static <T> List<Bin<T>>Randomize. randomizeBins(List<Bin<T>> bins, long seed)Randomizes the data in the bins in-place.static <T> List<Bin<T>>Randomize. randomizeBins(List<Bin<T>> bins, Random random)Randomizes the data in the bins in-place.static <T> double[]Bins. summarizeBinnableValues(List<Bin<T>> bins, Bins.SummaryType type, double emptyBinValue)Collects the binnable values from each bin, summarizes them and then returns that per bin.static <T> intBins. totalSize(List<Bin<T>> bins)Returns the total size of all the bins.static <T> List<Bin<T>>Bins. useBinIndex(List<Bin<T>> bins)Pushes the bin index into the binnable as value to use. -
Uses of Bin in adams.data.binning.postprocessing
Methods in adams.data.binning.postprocessing that return types with arguments of type Bin Modifier and Type Method Description protected abstract <T> List<Bin<T>>AbstractBinPostProcessing. doPostProcessBins(List<Bin<T>> bins)Post-processes the bins.protected <T> List<Bin<T>>MinBinSize. doPostProcessBins(List<Bin<T>> bins)Post-processes the bins.protected <T> List<Bin<T>>PassThrough. doPostProcessBins(List<Bin<T>> bins)Post-processes the bins.<T> List<Bin<T>>AbstractBinPostProcessing. postProcessBins(List<Bin<T>> bins)Post-processes the bins.<T> List<Bin<T>>BinPostProcessing. postProcessBins(List<Bin<T>> bins)Post-processes the bins.Method parameters in adams.data.binning.postprocessing with type arguments of type Bin Modifier and Type Method Description protected <T> StringAbstractBinPostProcessing. check(List<Bin<T>> bins)Hook method for performing checks before post-processing.protected abstract <T> List<Bin<T>>AbstractBinPostProcessing. doPostProcessBins(List<Bin<T>> bins)Post-processes the bins.protected <T> List<Bin<T>>MinBinSize. doPostProcessBins(List<Bin<T>> bins)Post-processes the bins.protected <T> List<Bin<T>>PassThrough. doPostProcessBins(List<Bin<T>> bins)Post-processes the bins.<T> List<Bin<T>>AbstractBinPostProcessing. postProcessBins(List<Bin<T>> bins)Post-processes the bins.<T> List<Bin<T>>BinPostProcessing. postProcessBins(List<Bin<T>> bins)Post-processes the bins.
-