Click or drag to resize
Accord.NET (logo)

KMedoidsClusterCollectionTTransform Method (T, Double, Double)

Transform data points into feature vectors containing the distance between each point and each of the clusters.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public double[][] Transform(
	T[][] points,
	double[] weights = null,
	double[][] result = null
)
Request Example View Source

Parameters

points
Type: T
The input points.
weights (Optional)
Type: SystemDouble
The weight associated with each point.
result (Optional)
Type: SystemDouble
An optional matrix to store the computed transformation.

Return Value

Type: Double
A vector containing the distance between the input points and the clusters.

Implements

ICentroidClusterCollectionTData, TCentroids, TClusterTransform(TData, Double, Double)
See Also