OpenNN
2.2
Open Neural Networks Library
|
#include <root_mean_squared_error.h>
Additional Inherited Members | |
Protected Attributes inherited from OpenNN::PerformanceTerm | |
NeuralNetwork * | neural_network_pointer |
DataSet * | data_set_pointer |
MathematicalModel * | mathematical_model_pointer |
NumericalDifferentiation * | numerical_differentiation_pointer |
bool | display |
This class represents the root mean squared error performance term. The root mean squared error measures the difference between the outputs from a neural network and the targets in a data set. This functional is used in data modeling problems.
Definition at line 42 of file root_mean_squared_error.h.
|
explicit |
Default constructor. It creates a root mean squared error performance term object not associated to any neural network and not measured on any data set. It also initializes all the rest of class members to their default values.
Definition at line 29 of file root_mean_squared_error.cpp.
|
explicit |
Neural network constructor. It creates a root mean squared error associated to a neural network object but not to a data set object. It also initializes all the rest of class members to their default values.
new_neural_network_pointer | Pointer to a neural network object. |
Definition at line 41 of file root_mean_squared_error.cpp.
|
explicit |
Data set constructor. It creates a root mean squared error associated to a data set object but not to a neural network object. It also initializes all the rest of class members to their default values.
new_data_set_pointer | Pointer to a data set object. |
Definition at line 54 of file root_mean_squared_error.cpp.
|
explicit |
Neural network and data set constructor. It creates a root mean squared error performance term object associated to a neural network and measured on a data set. It also initializes all the rest of class members to their default values.
new_neural_network_pointer | Pointer to a neural network object. |
new_data_set_pointer | Pointer to a data set object. |
Definition at line 69 of file root_mean_squared_error.cpp.
|
explicit |
XML constructor. This constructor creates a root mean squared object neither associated to a neural network nor a data set. It also loads the member data from a XML document.
root_mean_squared_error_document | TinyXML document with the object members. |
Definition at line 82 of file root_mean_squared_error.cpp.
|
virtual |
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 579 of file root_mean_squared_error.cpp.
|
virtual |
Returns the performance value of a neural network according to the root mean squared error on the training instances of a data set.
Implements OpenNN::PerformanceTerm.
Definition at line 195 of file root_mean_squared_error.cpp.
|
virtual |
Returns which would be the performance of a multilayer perceptron for an hypothetical vector of parameters. It does not set that vector of parameters to the multilayer perceptron.
parameters | Vector of potential parameters for the multilayer perceptron associated to the performance term. |
Implements OpenNN::PerformanceTerm.
Definition at line 278 of file root_mean_squared_error.cpp.
|
virtual |
Checks that there are a neural network and a data set associated to the root mean squared error, and that the numbers of inputs and outputs in the neural network are equal to the numbers of inputs and targets in the data set. If some of the above conditions is not hold, the method throws an exception.
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 105 of file root_mean_squared_error.cpp.
|
virtual |
Loads a root mean squared error object from a XML document.
document | TinyXML document containing the members of the object. |
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 635 of file root_mean_squared_error.cpp.
|
virtual |
Serializes the root mean squared error object into a XML document of the TinyXML library. See the OpenNN manual for more information about the format of this element.
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 602 of file root_mean_squared_error.cpp.