somdeb / magician

0 stars 1 forks source link

Storing negative numbers in LogDouble #9

Closed somdeb closed 9 years ago

somdeb commented 9 years ago

Since logarithm of a negative number is not defined LogDouble cannot handle negative number. However gradient can be negative, for this reason the following change is necessary.

somdeb commented 9 years ago

Not needed as weight of an MLN cannot be a negative number (in normal-space)