@deprecated('The function wishart_logz is deprecated in 0.18 and will be removed in 0.20.')
def wishart_logz(v, s, dets, n_features):
 z = 0.0
 z += (((0.5 * v) * n_features) * np.log(2))
 z += ((0.25 * (n_features * (n_features - 1))) * np.log(np.pi))
 z += ((0.5 * v) * np.log(dets))
 z += np.sum(gammaln((0.5 * ((v - np.arange(n_features)) + 1))))
 return z

@ deprecated ( 'The function wishart_logz is deprecated in 0.18 and will be removed in 0.20.' ) def wishart_logz ( v , s , dets , n_features ) : z = 0.0 z += ( ( ( 0.5 * v ) * n_features ) * np . log ( 2 ) ) z += ( ( 0.25 * ( n_features * ( n_features - 1 ) ) ) * np . log ( np . pi ) ) z += ( ( 0.5 * v ) * np . log ( dets ) ) z += np . sum ( gammaln ( ( 0.5 * ( ( v - np . arange ( n_features ) ) + 1 ) ) ) ) return z
the logarithm of the normalization constant for the wishart distribution .