14 #ifndef __TESTINGANALYSIS_H__
15 #define __TESTINGANALYSIS_H__
31 #include "mathematical_model.h"
33 #include "neural_network.h"
104 void save(
const std::string&)
const;
129 void check(
void)
const;
167 void print(
void)
const;
169 virtual tinyxml2::XMLDocument*
to_XML(
void)
const;
170 virtual void from_XML(
const tinyxml2::XMLDocument&);
172 void save(
const std::string&)
const;
173 void load(
const std::string&);
DataSet * get_data_set_pointer(void) const
Returns a pointer to the data set object on which the neural network is tested.
void print(void) const
Prints to the standard output the string representation of this testing analysis object.
virtual ~TestingAnalysis(void)
bool display
Display messages to screen.
NeuralNetwork * get_neural_network_pointer(void) const
Returns a pointer to the neural network object which is to be tested.
void set_mathematical_model_pointer(MathematicalModel *)
void set_display(const bool &)
std::string to_string(void) const
Returns a string representation of the testing analysis object.
Vector< LinearRegressionParameters< double > > linear_regression_parameters
Intercept, slope and correlation coefficient for each output variable.
Vector< LinearRegressionParameters< double > > calculate_linear_regression_parameters(void) const
void set_data_set_pointer(DataSet *)
void save(const std::string &) const
Matrix< size_t > calculate_confusion_multiple_classification(const Matrix< double > &, const Matrix< double > &) const
MathematicalModel * get_mathematical_model_pointer(void) const
Returns a pointer to the mathematical model object on which the neural network is tested...
Vector< Matrix< double > > calculate_error_data(void) const
Vector< Matrix< double > > calculate_error_data_statistics_matrices(void) const
LinearRegressionResults perform_linear_regression_analysis(void) const
virtual tinyxml2::XMLDocument * to_XML(void) const
Vector< Vector< size_t > > calculate_maximal_errors(const size_t &=10) const
void save(const std::string &) const
NeuralNetwork * neural_network_pointer
Pointer to the neural network object to be tested.
Matrix< size_t > calculate_confusion(void) const
Matrix< size_t > calculate_confusion_binary_classification(const Matrix< double > &, const Matrix< double > &) const
void set_neural_network_pointer(NeuralNetwork *)
Vector< Vector< Statistics< double > > > calculate_error_data_statistics(void) const
void load(const std::string &)
Vector< Matrix< double > > target_output_data
Target data from data set and output data from neural network.
Vector< double > calculate_binary_classification_tests(void) const
DataSet * data_set_pointer
Pointer to a data set object.
virtual void from_XML(const tinyxml2::XMLDocument &)
Vector< Matrix< double > > calculate_target_output_data(void) const
const bool & get_display(void) const
MathematicalModel * mathematical_model_pointer
Pointer to a mathematical model object.
Vector< Histogram< double > > calculate_error_data_histograms(const size_t &=10) const