Comments (2)
原因应该是
3个字的名字稀释了2个字名字 的比例
就是 P(三丰)<> P(三) * P(丰)
就是作者的这句话
当X条件独立时, P(X|Y) = P(X1|Y) * P(X2|Y)
举个极端例子
*如花 女->1.0
*花 女->1.0
套入上面公式 可以推断出来
*如 女->1.0
这是不对的
要把如花当一个字来处理才OK
这样也不会出现这种问题了
from ngender.
x条件独立时。对于名字来说,x条件独立,就有点困难了。
from ngender.
Related Issues (9)
- 用0来表示男性用1来表示女性有点不妥
- 源代码
- 日文名能识别吗 HOT 2
- 可否提供一下原始数据文件呢 HOT 3
- 复姓的处理 HOT 1
- Command 'ng' not found HOT 1
- 胜男,招弟 的问题 HOT 1
- P(name=本山|gender=男) ≠ P(name has 本|gender=男) * P(name has 山|gender=男) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngender.