OpenNN
2.2
Open Neural Networks Library
|
#include <inverse_sum_squared_error.h>
Public Types | |
enum | UnknownsMethod { LookUpTable, IndependentParametersValues } |
Private Attributes | |
UnknownsMethod | unknowns_method |
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 concept of sum squared error for inverse problems. It measures the difference between the outputs from a mathematical model and the targets in a data set. This performance term is used in inverse problems.
Definition at line 39 of file inverse_sum_squared_error.h.
|
explicit |
Default constructor. It creates an inverse sum squared error performance term not associated to any neural network and not measured on any mathematical model and data set. It also initializes all the rest of class members to their default values.
Definition at line 29 of file inverse_sum_squared_error.cpp.
|
explicit |
Neural network constructor. It creates an inverse sum squared error associated to a neural network but neither measured on a mathematical model nor 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. |
Definition at line 43 of file inverse_sum_squared_error.cpp.
|
explicit |
Neural network, mathematical model and data set constructor. It creates an inverse sum squared error associated to a neural network and measured on a mathematical model and 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_mathematical_model_pointer | Pointer to a mathematical model object. |
new_data_set_pointer | Pointer to a data set object. |
Definition at line 61 of file inverse_sum_squared_error.cpp.
|
explicit |
XML constructor. It creates an inverse sum squared error performance term not associated to any neural network and not measured on any mathematical model and data set. It initializes all the member data from a XML document.
inverse_sum_squared_error_document | Pointer to a TinyXML document containing the inverse sum squared error data. |
Definition at line 77 of file inverse_sum_squared_error.cpp.
|
virtual |
Destructor. It does not delete any object.
Definition at line 91 of file inverse_sum_squared_error.cpp.
|
virtual |
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 353 of file inverse_sum_squared_error.cpp.
|
virtual |
Implements OpenNN::PerformanceTerm.
Definition at line 281 of file inverse_sum_squared_error.cpp.
|
virtual |
Checks that there are a neural network, a mathemacial model and a data set associated to the inverse sum squared error. If some of the above conditions is not hold, the method throws an exception.
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 203 of file inverse_sum_squared_error.cpp.
|
virtual |
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 495 of file inverse_sum_squared_error.cpp.
|
virtual |
Sets the default values of the inverse sum squared error:
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 190 of file inverse_sum_squared_error.cpp.
void OpenNN::InverseSumSquaredError::set_unknowns_method | ( | const UnknownsMethod & | new_unknowns_method | ) |
This sets a new the method for entering the unknown values or functions into the mathematical model.
new_unknowns_method | Unknowns method (independent parameters, look-up table, ...). |
Definition at line 148 of file inverse_sum_squared_error.cpp.
void OpenNN::InverseSumSquaredError::set_unknowns_method | ( | const std::string & | new_unknowns_method | ) |
This sets a new the method for entering the unknown values or functions into the mathematical model.
new_unknowns_method | String with the name of the unknowns method (independent parameters, look-up table, ...). |
Definition at line 159 of file inverse_sum_squared_error.cpp.
|
virtual |
Serializes the inverse sum squared error object into a XML document of the TinyXML library. See the OpenNN manual for more information about the format of this document->
Reimplemented from OpenNN::PerformanceTerm.
Definition at line 444 of file inverse_sum_squared_error.cpp.