Minimum

Class

class uotod.match.Min(*args, **kwargs)

This class only serves as a decorator for uotod.match.ClosestPrediction and uotod.match.ClosestTarget. uotod.match.Min(source='prediction', *args*, **kwargs) will return the same as uotod.match.ClosestTarget(*args, **kwargs) and uotod.match.Min(source='target', *args*, **kwargs) will return the same as uotod.match.ClosestPrediction(*args, **kwargs). This is meant to be consistent with the uotod.match.SoftMin class.

Parameters:

source (str, optional) – Either “target” (default) or “prediction”.