A fuzzy logic C++ library
Public Member Functions | Public Attributes
slifis::ESTIM_ERROR Struct Reference

A structure holding numerical values on errors when estimating TS coefficients from a subset. More...

#include <rule_idx.hpp>

List of all members.

Public Member Functions

void Clear ()
 Number of points used to compute error.
 ESTIM_ERROR ()
void Print (FILE *f, const char *msg=0) const

Public Attributes

double mse
double mae
 Mean Squared Error, see http://en.wikipedia.org/wiki/Mean_squared_error.
double diff_max
 Mean Absolute Error.
double relative_error
size_t NbPoints
 relative error, as computed by the fitting process

Detailed Description

A structure holding numerical values on errors when estimating TS coefficients from a subset.

Used in RULE_IDX::ComputeTSError()


Constructor & Destructor Documentation

References Clear().


Member Function Documentation

void slifis::ESTIM_ERROR::Clear ( ) [inline]

Number of points used to compute error.

References diff_max, mae, mse, NbPoints, and relative_error.

Referenced by ESTIM_ERROR().

void slifis::ESTIM_ERROR::Print ( FILE *  f,
const char *  msg = 0 
) const

References diff_max, mae, mse, NbPoints, and relative_error.


Member Data Documentation

Mean Absolute Error.

max deviation value between fitted value and real value

Referenced by Clear(), slifis::RULE_IDX::ComputeTSError(), and Print().

relative error, as computed by the fitting process

Referenced by Clear(), slifis::RULE_IDX::ComputeTSError(), and Print().