Class CrowdingTag (1.18.0)

CrowdingTag(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Crowding tag is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowding_attribute.

Attribute

NameDescription
crowding_attribute str
The attribute value used for crowding. The maximum number of neighbors to return per crowding attribute value (per_crowding_attribute_num_neighbors) is configured per-query. This field is ignored if per_crowding_attribute_num_neighbors is larger than the total number of neighbors to return for a given query.

Inheritance

builtins.object > proto.message.Message > CrowdingTag