Update src/mlpack/methods/ann/activation_functions/gaussian_function.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
co-authored by
Ryan Curtin
parent
e3a293b157
commit
ae578a7347
@@ -60,7 +60,6 @@ class GaussianFunction
|
||||
*/
|
||||
static double Deriv(const double x, const double y)
|
||||
{
|
||||
// return 2 * -y * std::exp(-1 * std::pow(y, 2));
|
||||
return -2 * x * y;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user