Anatoly Yakovenko wrote:
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))). -- Joe Buehler _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe