| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.parameterizedobject.ParameterizedObject --+
|
base.functionfamilies.OutputFn --+
|
KernelMax
Replaces the given matrix with a kernel function centered around the maximum value.
This operation is usually part of the Kohonen SOM algorithm, and approximates a series of lateral interactions resulting in a single activity bubble.
The radius of the kernel (i.e. the surround) is specified by the parameter 'radius', which should be set before using __call__. The shape of the surround is determined by the neighborhood_kernel_generator, and can be any PatternGenerator instance, or any function accepting bounds, density, radius, and height to return a kernel matrix.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
kernel_radius = <topo.base.parameterclasses.Number object at 0Kernel radius in Sheet coordinates. |
|||
neighborhood_kernel_generator = <topo.base.parameterclasses.ClNeighborhood function |
|||
crop_radius_multiplier = <topo.base.parameterclasses.Number obFactor by which the radius should be multiplied, when deciding how far from the winner to keep evaluating the kernel. |
|||
density = Number(1.0, bounds= (0, None), doc= Density of the Sheet whose matrix we act on, for use in converting from matrix to Sheet coordinates. |
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|||
kernel_radiusKernel radius in Sheet coordinates.
|
neighborhood_kernel_generatorNeighborhood function
|
crop_radius_multiplierFactor by which the radius should be multiplied, when deciding how far from the winner to keep evaluating the kernel.
|
densityDensity of the Sheet whose matrix we act on, for use in converting from matrix to Sheet coordinates.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Feb 21 15:25:06 2008 | http://epydoc.sourceforge.net |