perCrowdingAttributeNeighborCount property

int perCrowdingAttributeNeighborCount
final

Optional. Crowding is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than sper_crowding_attribute_neighbor_count of the k neighbors returned have the same value of crowding_attribute. It's used for improving result diversity.

Implementation

final int perCrowdingAttributeNeighborCount;