Skip to content



The generalized Jaccard distance is a measure of distance with a range from 0 to 1 and can be thought of as the size of the intersection divided by the size of the union of two points if they were consisted only of binary random variables.

Data Type Compatibility: Continuous


This kernel does not have any parameters.


use Rubix\ML\Kernels\Distance\Jaccard;

$kernel = new Jaccard();