Skip to content

Commit efc99bc

Browse files
committed
fix wrong comment
1 parent 630c169 commit efc99bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kde.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (gauss Gaussian) EntropyUpper() float64 {
165165
// H(X) <= d/2 - d/2 * ln(4) - \sum_i c_i ln \sum_j c_j p_tilde(mu_i)
166166
// H(X) <= d/2 - d/2 * ln(4) - \sum_i c_i ln p_tilde(mu_i)
167167
// where p_tilde is the probability under the mixture if the covariance
168-
// is Σ/4
168+
// is Σ*4
169169
func (gauss Gaussian) EntropyLower() float64 {
170170
// Rather than implement the above directly, note that this is the same
171171
// formula as above with the scaled covariance.

0 commit comments

Comments
 (0)