12 #ifndef MLPACK_METHODS_ANN_LOSS_FUNCTION_MEAN_BIAS_ERROR_HPP 13 #define MLPACK_METHODS_ANN_LOSS_FUNCTION_MEAN_BIAS_ERROR_HPP 30 typename InputDataType = arma::mat,
31 typename OutputDataType = arma::mat
47 template<
typename InputType,
typename TargetType>
48 double Forward(
const InputType&& input,
const TargetType&& target);
57 template<
typename InputType,
typename TargetType,
typename OutputType>
58 void Backward(
const InputType&& input,
59 const TargetType&& target,
70 template<
typename Archive>
71 void serialize(Archive& ar,
const unsigned int );
75 OutputDataType outputParameter;
82 #include "mean_bias_error_impl.hpp" OutputDataType & OutputParameter() const
Get the output parameter.
OutputDataType & OutputParameter()
Modify the output parameter.
void Backward(const InputType &&input, const TargetType &&target, OutputType &&output)
Ordinary feed backward pass of a neural network.
The core includes that mlpack expects; standard C++ includes and Armadillo.
void serialize(Archive &ar, const unsigned int)
Serialize the layer.
The mean bias error performance function measures the network's performance according to the mean of ...
double Forward(const InputType &&input, const TargetType &&target)
Computes the mean bias error function.
MeanBiasError()
Create the MeanBiasError object.