/
GROUP_JACCARD_DIST

GROUP_JACCARD_DIST

This function has been removed as of Datameer v6.3

Syntax

GROUP_JACCARD_DIST(<string>)

Description

Computes the Jaccard distance of all values in a group. The Jaccard distance between two sets is the ratio of the size of their intersection to the size of their union. For example, the Jaccard distance between two species is 1-(number of regions where both species are present)/(number of regions where at least one species is present).

This is an aggregate function.

Example

Given the following data:

Groups
group1a
group1b
group1c
group1c
group1e
group1g
group1g
group1g
group2a
group2c
group2d
group2h
group2h
group2h
group2m
group2n

First create a group using GROUPBY(#RawData!Groups)

Groups
group1
group2

Then use the GROUP_JACCARD_DIST(#RawData!Letters), and the result is the Jaccard distance of the group created from the column in relation to the GROUPBY() column.

GroupsJACCARD_DIST
group10.4
group20.166666666666666666

Related content

GROUP_JACCARD_DIST
GROUP_JACCARD_DIST
More like this
Grouping Functions
Grouping Functions
More like this
Grouping Functions
Grouping Functions
More like this
Grouping Functions
Grouping Functions
More like this
GROUPCOUNTDISTINCT
GROUPCOUNTDISTINCT
More like this
GROUPCOUNTDISTINCT
GROUPCOUNTDISTINCT
More like this