9#ifndef NORMALIZEDSQUAREDERROR_H
10#define NORMALIZEDSQUAREDERROR_H
24#include "loss_index.h"
75 type calculate_time_series_normalization_coefficient(
const Tensor<type, 2>&,
const Tensor<type, 2>&)
const;
118 type selection_normalization_coefficient = type(NAN);
121 #include "../../opennn-cuda/opennn-cuda/normalized_squared_error_cuda.h"
This class represents the concept of data set for data modelling problems, such as approximation,...
This abstract class represents the concept of loss index composed of an error term and a regularizati...
This class represents the normalized squared error term.
type normalization_coefficient
Coefficient of normalization for the calculation of the training error.
type get_selection_normalization_coefficient() const
Returns the selection normalization coefficient.
void set_normalization_coefficient()
void from_XML(const tinyxml2::XMLDocument &)
void set_default()
Sets the default values.
void calculate_error(const DataSetBatch &, const NeuralNetworkForwardPropagation &, LossIndexBackPropagation &) const
NormalizedSquaredError::calculate_error.
type get_normalization_coefficient() const
Returns the normalization coefficient.
void set_selection_normalization_coefficient()
string get_error_type() const
Returns a string with the name of the normalized squared error loss type, "NORMALIZED_SQUARED_ERROR".
type calculate_normalization_coefficient(const Tensor< type, 2 > &, const Tensor< type, 1 > &) const
void set_time_series_normalization_coefficient()
void set_data_set_pointer(DataSet *new_data_set_pointer)
set_data_set_pointer
virtual ~NormalizedSquaredError()
Destructor.
void write_XML(tinyxml2::XMLPrinter &) const
string get_error_type_text() const
Returns a string with the name of the normalized squared error loss type in text format.
A loss index composed of several terms, this structure represent the First Order for this function.