Package | Description |
---|---|
at.tuwien.ifs.somtoolbox.layers.metrics |
This package contains the metrics used for distance calculation during training and for mapping data onto maps.
|
at.tuwien.ifs.somtoolbox.visualization |
Provides classes creating visualisations of trained SOMs.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractWeightedMetric |
class |
CosineMetric
Implements the cosine metric, defined for two vectors d1 and d2 as d1xd2 / (|d1|*|d2|).
|
class |
L1Metric
Implements the L1 or city block metric.
|
class |
L2Metric
Implements the L2 or Euclidean metric.
|
class |
L2MetricFast
Implements a fast version of the L2 or Euclidean metric, by not taking the square root.
|
class |
L2MetricSparse
Implements the L2 or Euclidean metric, considering only those values for the distance calculation that have non-zero
values for the first, second or both vectors, depending on the initialisation mode.
|
class |
L2MetricWeighted |
class |
LInfinityMetric
Implements the L-Infinity metric,defined for two vectors x and y as max( |xi-yi| ), i = 1,...,|x|.
|
class |
LnAlphaMetric |
class |
LnMetric
Generic Ln metric.
|
class |
MahalanobisMetric
Implements the Mahalanobis distance metric.
|
class |
MissingValueMetricWrapper
A wrapper class around other distance metrics, modifying the distance computation in such a way that only vector
attributes that are not missing (indicated by
InputData.MISSING_VALUE are considered.When instantiating using the empty constructor MissingValueMetricWrapper.MissingValueMetricWrapper() the default metric
MissingValueMetricWrapper.DEFAULT_METRIC is used. |
class |
MnemonicSOMMetric
A metric for mnemonic SOMs.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractMetric |
Snapper.distanceFunction |
Constructor and Description |
---|
Snapper(AbstractMetric distanceFunction,
DistanceFunctionType lineDistanceFunction) |
Snapper2D(AbstractMetric distanceFunction,
DistanceFunctionType lineDistanceFunction,
int xSize,
int ySize) |
Snapper3D(AbstractMetric distanceFunction,
DistanceFunctionType lineDistanceFunction) |
Snapper3D(double gridSize,
AbstractMetric distanceFunction,
DistanceFunctionType lineDistanceFunction) |