|
OpenNN
Open-source neural networks library
|
Per-output regression goodness-of-fit summary. More...
#include <testing_analysis.h>
Public Member Functions | |
| void | set (const VectorR &targets, const VectorR &outputs, float determination) |
| Populates the struct from raw vectors and a precomputed R^2. | |
| void | save (const filesystem::path &file_name) const |
| Saves the struct to a CSV file. | |
| void | print () const |
| Prints the struct to standard output. | |
Public Attributes | |
| float | determination = 0.0f |
| Coefficient of determination (R^2) for this output. | |
| VectorR | targets |
| Target values for the testing samples. | |
| VectorR | outputs |
| Network outputs for the testing samples. | |
Per-output regression goodness-of-fit summary.
Captures the coefficient of determination together with the raw target/output vectors used to compute it.
| void opennn::TestingAnalysis::GoodnessOfFitAnalysis::print | ( | ) | const |
Prints the struct to standard output.
| void opennn::TestingAnalysis::GoodnessOfFitAnalysis::save | ( | const filesystem::path & | file_name | ) | const |
Saves the struct to a CSV file.
| file_name | Destination path. |
| void opennn::TestingAnalysis::GoodnessOfFitAnalysis::set | ( | const VectorR & | targets, |
| const VectorR & | outputs, | ||
| float | determination ) |
Populates the struct from raw vectors and a precomputed R^2.
| targets | Target values. |
| outputs | Network outputs. |
| determination | R^2 between targets and outputs. |
| float opennn::TestingAnalysis::GoodnessOfFitAnalysis::determination = 0.0f |
Coefficient of determination (R^2) for this output.
| VectorR opennn::TestingAnalysis::GoodnessOfFitAnalysis::outputs |
Network outputs for the testing samples.
| VectorR opennn::TestingAnalysis::GoodnessOfFitAnalysis::targets |
Target values for the testing samples.