IClusteringBatchStrategy<T, TInput, TOutput>

Interfaces · AiDotNet.ActiveLearning.Interfaces

Interface for clustering-based batch selection.

Implements: IBatchStrategy<T, TInput, TOutput>

Known implementations: ClusteredBatchStrategy<T, TInput, TOutput>

Properties

Property Summary
int NumClusters { get; } Gets the number of clusters to use.

Methods

Method Summary
int[] ClusterSamples(IDataset<T, TInput, TOutput> unlabeledPool) Clusters the samples in the unlabeled pool.
int[] SelectFromClusters(int[] clusterAssignments, Vector<T> scores, int batchSize) Selects the most informative sample from each cluster.