Function for the Normal Loss Function L(z) - Printable Version +- Python Forum ( https://python-forum.io)+-- Forum: Python Coding ( https://python-forum.io/Forum-Python-Coding)+--- Forum: Data Science ( https://python-forum.io/Forum-Data-Science)+--- Thread: Function for the Normal Loss Function L(z) ( /Thread-Function-for-the-Normal-Loss-Function-L-z) |

Function for the Normal Loss Function L(z) - Smelly - Jan-31-2019 I am pretty new to Python and my algorithm is working with the Normal loss function L(z) L(z)=ϕ(z)−z(1−Φ(z)) I have "z" as an input and need "L(z)" as an output. A table of that looks like this: Does a package exist which provides a function to do so? What is the name of the package and function? RE: Function for the Normal Loss Function L(z) - scidam - Feb-01-2019 You can use SciPy package, it includes ϕ(z) and Φ(z) functions (normal probability density and its cumulative distribution function), so you can easily define L(z) using them. |