I\'m attempting to implement Logistic regression in .net using MathNumerics Linear Algebra libraries. I need to implement the following equation and am unsure of how to acc
let sigmoid (z : Matrix) : Matrix = z.Map (fun x -> 1.0 / (1.0 + exp (0.0 - x)))