MachineIntelligenceCore:NeuralNets
|
#include <gtest/gtest.h>
#include <cmath>
#include <optimization/ArtificialLandscapesTests.hpp>
#include <optimization/Momentum.hpp>
Go to the source code of this file.
Macros | |
#define | private public |
Functions | |
TEST_F (Sphere1DLandscape, Momentum_Convergence) | |
TEST_F (Sphere20DLandscape, Momentum_Convergence) | |
TEST_F (Beale2DLandscape, Momentum_Convergence) | |
TEST_F (Rosenbrock2DLandscape, Momentum_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 MomentumTests.cpp.
#define private public |
Definition at line 31 of file MomentumTests.cpp.
TEST_F | ( | Sphere1DLandscape | , |
Momentum_Convergence | |||
) |
Tests gradient descent with momentum on a 1d square "artificial landscape".
Definition at line 46 of file MomentumTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Sphere20DLandscape | , |
Momentum_Convergence | |||
) |
Tests gradient descent with momentum on a 20d square "artificial landscape".
Definition at line 74 of file MomentumTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Beale2DLandscape | , |
Momentum_Convergence | |||
) |
Tests gradient descent with momentum on a 2d Beale's function "artificial landscape".
Definition at line 102 of file MomentumTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Rosenbrock2DLandscape | , |
Momentum_Convergence | |||
) |
Tests gradient descent with momentum on a 2d Rosenbrock function "artificial landscape".
Definition at line 130 of file MomentumTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().