public static class Novelty.NormGaussianCheckerboardKernel extends Novelty.GaussianCheckerboardKernel
Novelty.GaussianCheckerboardKernel
would deliver
before they are returned, assuming the input values are between -1 and 1.Constructor and Description |
---|
NormGaussianCheckerboardKernel(int size) |
Modifier and Type | Method and Description |
---|---|
float |
aggregate(Matrix distances)
Maps a collection (usually an array, an
RealAudioBuffer
or a List ) to a single float value. |
static Novelty.NormGaussianCheckerboardKernel |
getInstance(int dimension)
Creates a normalized Gaussian checkerboard kernel with the given dimension.
|
getKernel, size, toString
public static Novelty.NormGaussianCheckerboardKernel getInstance(int dimension)
dimension
- dimension, preferably evenpublic float aggregate(Matrix distances)
FloatAggregateFunction
RealAudioBuffer
or a List
) to a single float value.aggregate
in interface FloatAggregateFunction<Matrix>
aggregate
in class Novelty.GaussianCheckerboardKernel
distances
- collectionCopyright © 2011–2020 tagtraum industries incorporated. All rights reserved.