salmon.triplets.samplers.Random

class salmon.triplets.samplers.Random(n, d=2, ident='', targets=None)

Choose the triplet queries randomly, only ensuring objects are not repeated.

Parameters
nint

Number of objects

identstr

Identifier of the algorithm

__init__(n, d=2, ident='', targets=None)