MachineIntelligenceCore:NeuralNets
|
#include <gtest/gtest.h>
#include <cmath>
#include <optimization/ArtificialLandscapesTests.hpp>
#include <optimization/GradientDescent.hpp>
Go to the source code of this file.
Macros | |
#define | private public |
Functions | |
TEST_F (Sphere1DLandscape, GradientDescent_Convergence) | |
TEST_F (Sphere20DLandscape, GradientDescent_Convergence) | |
TEST_F (Beale2DLandscape, GradientDescent_Convergence) | |
TEST_F (Rosenbrock2DLandscape, GradientDescent_Convergence) | |
Copyright (C) tkornuta, IBM Corporation 2015-2019
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
: Tomasz Kornuta tkorn : Nov 18, 2016 ut@u s.ibm .com
Copyright (c) 2016, IBM Corporation. All rights reserved.
Definition in file GradientDescentTests.cpp.
#define private public |
Definition at line 31 of file GradientDescentTests.cpp.
TEST_F | ( | Sphere1DLandscape | , |
GradientDescent_Convergence | |||
) |
Tests gradient descent on a 1d square "artificial landscape".
Definition at line 45 of file GradientDescentTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Sphere20DLandscape | , |
GradientDescent_Convergence | |||
) |
Tests gradient descent on a 20d square "artificial landscape".
Definition at line 74 of file GradientDescentTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Beale2DLandscape | , |
GradientDescent_Convergence | |||
) |
Tests gradient descent on a 2d Beale's function "artificial landscape".
Definition at line 103 of file GradientDescentTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Rosenbrock2DLandscape | , |
GradientDescent_Convergence | |||
) |
Tests gradient descent on a 2d Rosenbrock function "artificial landscape".
Definition at line 132 of file GradientDescentTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().