Jaccard index: Difference between revisions
m
→{{header|Factor}}: easier on the eyes without the commas
JsfasdF256 (talk | contribs) No edit summary |
m (→{{header|Factor}}: easier on the eyes without the commas) |
||
Line 28:
{ { } { 1 2 3 4 5 } { 1 3 5 7 9 } { 2 4 6 8 10 } { 2 3 5 7 } { 8 } }
[ 2 <combinations> ] [ 2 repeat 2 group append ] bi
[ 2dup jaccard "%
{{out}}
<pre>
{
{
{
{
{
{ 1
{ 1
{ 1
{ 1
{ 1
{ 1
{ 1
{ 2
{ 2
{ 2
{
{ 1
{ 1
{ 2
{ 2
{ 8 } { 8 } -> 1
</pre>
|