| 
            
              KMeansClusterCollectionTransform Method (Double, Int32, 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
Syntaxpublic double[] Transform(
	double[][] points,
	int[] labels,
	double[] weights = null,
	double[] result = null
)
Public Function Transform ( 
	points As Double()(),
	labels As Integer(),
	Optional weights As Double() = Nothing,
	Optional result As Double() = Nothing
) As Double()
 Request Example
		View SourceParameters
- points
 - Type: SystemDouble
The input points. - labels
 - Type: SystemInt32
The label of each input point. - 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: 
DoubleA vector containing the distance between the input points and the clusters.
Implements
ICentroidClusterCollectionTData, TCentroids, TClusterTransform(TData, Int32, Double, Double)
See Also