[Haskell-cafe] Re: haskell blas bindings: does iomatrix gemv transposing of matrix a?

Anatoly Yakovenko aeyakovenko at gmail.com
Fri Sep 26 17:03:09 EDT 2008


>> e = exp 1.0
>> sigmoid xx = 1.0 / (1 + (e ** (1.0 * xx)))
>
> That 1.0 * xx caught my eye.
>
> In case this was an oversight on your part: if you mean the usual sigmoid
> function, that should be 1.0 / (1 + (e ** (0.0 - x))).

i had a different constant there before.


More information about the Haskell-Cafe mailing list