About 5,060,000 results
Open links in new tab
  1. python - What does numpy.gradient do? - Stack Overflow

    84 So I know what the gradient of a (mathematical) function is, so I feel like I should know what numpy.gradient does. But I don't. The documentation is not really helpful either: Return the …

  2. calculating the Gradient and the Hessian in R - Stack Overflow

    Jan 28, 2015 · As you know, the Gradient of a function is the following vector: and the Hessian is the following matrix: Now, I wonder, is there any way to calculate these in R for a user defined …

  3. gradient descent using python and numpy - Stack Overflow

    Jul 22, 2013 · This function reduce the alpha over the iteration making the function too converge faster see Estimating linear regression with Gradient Descent (Steepest Descent) for an …

  4. python - Calculating gradient with NumPy - Stack Overflow

    Apr 18, 2013 · I really can not understand what numpy.gradient function does and how to use it for computation of multivariable function gradient. For example, I have such a function: def …

  5. Compute the gradient of the SVM loss function - Stack Overflow

    Mar 16, 2016 · 19 I am trying to implement the SVM loss function and its gradient. I found some example projects that implement these two, but I could not figure out how they can use the …

  6. How to get the Gradient and Hessian | Sympy - Stack Overflow

    Sep 19, 2016 · 18 Here is the situation: I have a symbolic function lamb which is function of the elements of the variable z and the functions elements of the variable h. Here is an image of …

  7. CS231n: How to calculate gradient for Softmax loss function?

    I am watching some videos for Stanford CS231: Convolutional Neural Networks for Visual Recognition but do not quite understand how to calculate analytical gradient for softmax loss …

  8. How do I compute derivative using Numpy? - Stack Overflow

    Mar 26, 2012 · How do I calculate the derivative of a function, for example y = x2+1 using numpy? Let's say, I want the value of derivative at x = 5...

  9. Color gradient algorithm - Stack Overflow

    Mar 24, 2014 · You can see this easily in a gradient based on simple interpolation of the sRGB values, particularly the red-green gradient is too dark in the middle. Using interpolation on …

  10. numpy - Gradient calculation with python - Stack Overflow

    Jul 28, 2013 · I would like to know how does numpy.gradient work. I used gradient to try to calculate group velocity (group velocity of a wave packet is the derivative of frequencies …