MCPcopy Create free account
hub / github.com/codewithzichao/Machine_Learning_Code / calcEp_xy

Method calcEp_xy

MaxEnt/Max_Entropy.py:85–106  ·  view source on GitHub ↗

计算特征函数f(x, y)关于经验分布P_(x, y)的期望值(下划线表示P上方的横线, 同理Ep_xy中的“_”也表示p上方的横线) 即“6.2.2 最大熵的定义”中第一个期望(82页最下方那个式子) :return: 计算得到的Ep_xy

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected