当前位置:网站首页>距离度量 —— 杰卡德距离(Jaccard Distance)
距离度量 —— 杰卡德距离(Jaccard Distance)
2022-07-02 17:08:00 【繁依Fanyi】
Python学习系列文章:目录

一、概述
杰卡德距离(Jaccard Distance),是用来衡量两个集合差异性的一种指标,它是杰卡德相似系数的补集。
二、计算公式
① 杰卡德相似系数
杰卡德相似系数(Jaccard similarity coefficient):两个集合 A 和 B 的交集元素在 A,B 的并集中所占的比例,称为两个集合的杰卡德相似系数,用符号 J ( A , B ) J(A,B) J(A,B) 表示,则其表达式为: J ( A , B ) = ∣ A ∩ B ∣ ∣ A ∪ B ∣ J(A,B)=\frac{|A\cap B|}{|A\cup B| } J(A,B)=∣A∪B∣∣A∩B∣
② 杰卡德距离
杰卡德距离(Jaccard Distance):与杰卡德相似系数相反,用两个集合中不同元素占所有元素的比例来衡量两个集合的区分度。杰卡德距离的表达式为: J δ ( A , B ) = 1 − J ( A , B ) = ∣ A ∪ B ∣ − ∣ A ∩ B ∣ ∣ A ∪ B ∣ J_{\delta}(A,B)=1-J(A,B)=\frac{|A\cup B|-|A\cap B|}{|A\cup B|} Jδ(A,B)=1−J(A,B)=∣A∪B∣∣A∪B∣−∣A∩B∣

边栏推荐
- Redis(6)----对象与数据结构
- ESP32-C3入门教程 问题篇⑪——esp-tls: create_ssl_handle failed, tls_io_instance->options.trusted_certs null
- 科技公司不同人对Bug的反应 | 每日趣闻
- 消除IBM P750小机上的黄色报警灯[通俗易懂]
- exness深度好文:动性系列-黄金流动性实例分析(五)
- Wechat nucleic acid detection appointment applet system graduation design completion (5) task statement
- 在支付宝账户上买基金安全吗
- QT official example: QT quick controls - Gallery
- 如何清理废弃pv和其对应的文件夹
- Tower safety monitoring system unattended inclination vibration monitoring system
猜你喜欢

初夏,开源魔改一个带击杀音效的电蚊拍!

Troubleshooting ideas that can solve 80% of faults

Wechat nucleic acid detection appointment applet system graduation design completion (5) task statement

微信小程序视频分享平台系统毕业设计毕设(3)后台功能

Responses of different people in technology companies to bugs | daily anecdotes

Leetcode(81)——搜索旋转排序数组 II

Qt Official examples: Qt Quick Controls - Gallery

微信小程序视频分享平台系统毕业设计毕设(5)任务书

Pychar modify pep8 e501 line too long > 0 characters

Leetcode 面试题 17.04. 消失的数字
随机推荐
Wechat nucleic acid detection appointment applet system graduation design completion (4) opening report
iframe嵌套详解
能解决80%故障的排查思路
Iframe nesting details
ESP32-C3入门教程 问题篇⑩——error: implicit declaration of function ‘esp_blufi_close‘;
Export Excel files using npoi
RDK仿真实验
Wechat applet video sharing platform system graduation design completion (4) opening report
Leetcode 面试题 17.04. 消失的数字
夜神模拟器+Fiddler抓包测试App
Summary of fun free GM games
Detailed explanation of cjson usage
Esp32-c3 introductory tutorial question ⑪ - ESP tls: create_ ssl_ handle failed, tls_ io_ instance->options. trusted_ certs null
微信小程序视频分享平台系统毕业设计毕设(2)小程序功能
阿里三面被面试官狂问Redis,简历上再也不敢写'精通'了
After 22 years in office, the father of PowerShell will leave Microsoft: he was demoted by Microsoft for developing PowerShell
微信小程序视频分享平台系统毕业设计毕设(3)后台功能
Architecture design - ID generator "suggestions collection"
Qt官方示例:Qt Quick Controls - Gallery
如何设置VSCode删除整行快捷键?