|
MiniBatchKMeans Constructor (Int32, Int32, IDistanceDouble)
|
Initializes a new instance of Mini-Batch K-Means algorithm
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public MiniBatchKMeans(
int k,
int batchSize,
IDistance<double[]> distance
)
Public Sub New (
k As Integer,
batchSize As Integer,
distance As IDistance(Of Double())
)
Request Example
View SourceParameters
- k
- Type: SystemInt32
The number of clusters to divide input data. - batchSize
- Type: SystemInt32
The size of batches. - distance
- Type: Accord.Math.DistancesIDistanceDouble
The distance function to use. Default is to
use the SquareEuclidean(Double, Double) Euclidean distance.
See Also