KohonenMap<T>

public sealed class KohonenMap<T>
Provides a generic self-organising or 'Kohonen' map. Which is a way to transform high-dimensional data onto a two dimensional grid.
T

Constructors

KohonenMap

#
public KohonenMap(int dimensionality, Func<T, PointN> mapping)
Set up a new Kohonen mapping.
dimensionality (int)Dimensionality of input data.
mapping (Func<T, PointN>)Mapping from T instances to k-dimensional vectors.

Properties

Dimensionality

#
public int Dimensionality { get; }
Gets the dimensionality of the input data.

Methods

Map

#
public KohonenNeuron[] Map(IEnumerable<T> values, int width = 32, int height = 32, int iterations = 12, double tolerance = 0.01, CancellationToken token = default(CancellationToken))
Fit a map to a set of data.
values (IEnumerable<T>)Value to fit.
width (int = 32)Number of neuron columns.
height (int = 32)Number of neuron rows.
iterations (int = 12)Maximum allowed iterations.
tolerance (double = 0.01)Target tolerance.
token (CancellationToken = null)Cancellation token.
Rectangular map of map map.