Similarity thresholding

Thresholding

This will run examples of thresholding with agent and symbolic layers.