MachineIntelligenceCore:NeuralNets
|
#include <gtest/gtest.h>
#include <cmath>
#include <optimization/ArtificialLandscapesTests.hpp>
#include <optimization/Adam.hpp>
Go to the source code of this file.
Macros | |
#define | private public |
Functions | |
TEST_F (Sphere1DLandscape, Adam_Convergence) | |
TEST_F (Sphere20DLandscape, Adam_Convergence) | |
TEST_F (Beale2DLandscape, Adam_Convergence) | |
TEST_F (Rosenbrock2DLandscape, Adam_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 AdamTests.cpp.
#define private public |
Definition at line 31 of file AdamTests.cpp.
TEST_F | ( | Sphere1DLandscape | , |
Adam_Convergence | |||
) |
Tests Adam's convergence on a 1d square "artificial landscape".
Definition at line 38 of file AdamTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Sphere20DLandscape | , |
Adam_Convergence | |||
) |
Tests Adam's convergence on a 20d square "artificial landscape".
Definition at line 66 of file AdamTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Beale2DLandscape | , |
Adam_Convergence | |||
) |
Tests Adam on a 2d Beale's function "artificial landscape".
Definition at line 93 of file AdamTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().
TEST_F | ( | Rosenbrock2DLandscape | , |
Adam_Convergence | |||
) |
Tests Adam on a 2d Rosenbrock function "artificial landscape".
Definition at line 121 of file AdamTests.cpp.
References mic::neural_nets::optimization::OptimizationFunction< eT >::update().