text: /****************************************************************************************************************/
  /*                                                                                                              */
  /*   OpenNN: Open Neural Networks Library                                                                       */
  /*   www.opennn.net                                                                                             */
  /*                                                                                                              */
  /*   R O O T   M E A N   S Q U A R E D   E R R O R   T E S T   C L A S S   H E A D E R                          */
  /*                                                                                                              */
  /*   Roberto Lopez                                                                                              */
  /*   Artelnics - Making intelligent use of data                                                                 */
  /*   robertolopez@artelnics.com                                                                                 */
  /*                                                                                                              */
  /****************************************************************************************************************/
  
  #ifndef __ROOTMEANSQUAREDERRORTEST_H__
  #define __ROOTMEANSQUAREDERRORTEST_H__
  
  #include "unit_testing.h"
  
  using namespace OpenNN;
  
  
  class RootMeanSquaredErrorTest : public UnitTesting 
  {
  
  #define	STRING(x) #x
  #define TOSTRING(x) STRING(x)
  #define LOG __FILE__ ":" TOSTRING(__LINE__)"\n"
  
  
  public:
  
     // GENERAL CONSTRUCTOR
  
     explicit RootMeanSquaredErrorTest(void);
  
  
     // DESTRUCTOR
  
     virtual ~RootMeanSquaredErrorTest(void);
  
  
     // METHODS
  
     // Constructor and destructor methods
  
     void test_constructor(void);
     void test_destructor(void);
  
     // Get methods
  
     // Set methods
  
     // Objective methods
  
     void test_calculate_loss(void);   
  
     void test_calculate_selection_loss(void);
  
     void test_calculate_gradient(void);
  
     void test_calculate_Hessian(void);
  
     // Serialization methods
  
     void test_to_XML(void);   
     void test_from_XML(void);
  
     // Unit testing methods
  
     void run_test_case(void);
  };
  
  
  #endif
  
  
  // OpenNN: Open Neural Networks Library.
  // Copyright (C) 2005-2016 Roberto Lopez.
  //
  // This library is free software; you can redistribute it and/or
  // modify it under the terms of the GNU Lesser General Public
  // License as published by the Free Software Foundation; either
  // version 2.1 of the License, or any later version.
  //
  // This library is distributed in the hope that it will be useful,
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  // Lesser General Public License for more details.
  
  // You should have received a copy of the GNU Lesser General Public
  // License along with this library; if not, write to the Free Software
  // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  