|
KMedoidsTCompute Method
|
Implementation of the PAM algorithm.
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax protected virtual int[] Compute(
T[][] x,
int[] labels,
int[] currentMedoidIndicesArray
)
Protected Overridable Function Compute (
x As T()(),
labels As Integer(),
currentMedoidIndicesArray As Integer()
) As Integer()
Request Example
View SourceParameters
- x
- Type: T
- labels
- Type: SystemInt32
- currentMedoidIndicesArray
- Type: SystemInt32
Return Value
Type:
Int32See Also