Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Function for the Normal Loss Function L(z)
I am pretty new to Python and my algorithm is working with the Normal loss function L(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?
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.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  tell exact difference between xlim() and xticks() function ift38375 3 125 Jul-12-2019, 12:04 AM
Last Post: scidam
  Applying Function With If ab0217 8 230 Jul-02-2019, 12:30 PM
Last Post: ichabod801
  Apply function on different columns as defined DavidGG 5 503 Jun-03-2019, 01:12 PM
Last Post: ichabod801
  How to graphically represent this function? dc996 1 225 May-03-2019, 10:30 AM
Last Post: scidam
  semantic error log function mcgrim 26 1,071 Apr-29-2019, 09:32 PM
Last Post: mcgrim
  How to graph a normal distribution? royer14 0 194 Apr-22-2019, 09:16 PM
Last Post: royer14
  How to create a random library for an specific function andre_fermart 4 341 Apr-10-2019, 11:02 PM
Last Post: andre_fermart
  How does the builtin function argpartition works? vicky53 4 316 Apr-05-2019, 06:17 AM
Last Post: vicky53
  function matrix mcgrim 14 686 Mar-19-2019, 09:28 PM
Last Post: mcgrim
  RuntimeError: No application found. Either work inside a view function or push an app pascale 2 479 Mar-04-2019, 08:17 PM
Last Post: pascale

Forum Jump:

Users browsing this thread: 1 Guest(s)