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

Method calcPwy_x

MaxEnt/Max_Entropy.py:165–198  ·  view source on GitHub ↗

计算“6.23 最大熵模型的学习” 式6.22 :param X: 要计算的样本X(一个包含全部特征的样本) :param y: 该样本的标签 :return: 计算得到的Pw(Y|X)

(self, X, y)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

calcEpxyMethod · 0.95
predictMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected