9#ifndef MEANSQUAREDERROR_H
10#define MEANSQUAREDERROR_H
24#include "loss_index.h"
86 #include "../../opennn-cuda/opennn-cuda/mean_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 mean squared error term.
virtual ~MeanSquaredError()
Destructor.
void calculate_error(const DataSetBatch &, const NeuralNetworkForwardPropagation &, LossIndexBackPropagation &) const
MeanSquaredError::calculate_error.
string get_error_type() const
Returns a string with the name of the mean squared error loss type, "MEAN_SQUARED_ERROR".
void write_XML(tinyxml2::XMLPrinter &) const
string get_error_type_text() const
Returns a string with the name of the mean squared error loss type in text format.
A loss index composed of several terms, this structure represent the First Order for this function.