MathNet Raise Scalar by a Matrix

后端 未结 1 502
轻奢々
轻奢々 2020-12-21 18:00

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

相关标签:
1条回答
  • 2020-12-21 18:36
    let sigmoid (z : Matrix<double>) : Matrix<double> =
            z.Map (fun x -> 1.0 / (1.0 + exp (0.0 - x)))
    
    0 讨论(0)
提交回复
热议问题