Compute the elementwise log of the normalization constant (partition function) Z(w)=sum_{y in Y(w)} exp(theta . f(w, y)). The sample space must be discrete and finite. This is a vector with one element for each context w.
scipy.maxentropy.conditionalmodel.log
scipy.maxentropy.conditionalmodel.logparams
Enter search terms or a module, class or function name.