9#ifndef MINKOWSKIERROR_H
10#define MINKOWSKIERROR_H
23#include "loss_index.h"
87 #include "../../opennn-cuda/opennn-cuda/minkowski_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 Minkowski error term.
type minkowski_parameter
Minkowski exponent value.
void from_XML(const tinyxml2::XMLDocument &)
string get_error_type() const
Returns a string with the name of the Minkowski error loss type, "MINKOWSKI_ERROR".
virtual ~MinkowskiError()
void set_Minkowski_parameter(const type &)
type get_Minkowski_parameter() const
Returns the Minkowski exponent value used to calculate the error.
void write_XML(tinyxml2::XMLPrinter &) const
string get_error_type_text() const
Returns a string with the name of the Minkowski error loss type in text format.
void calculate_error(const DataSetBatch &batch, const NeuralNetworkForwardPropagation &forward_propagation, LossIndexBackPropagation &back_propagation) const
MinkowskiError::calculate_error.