|
OpenNN
Open-source neural networks library
|
Result of a correlation analysis: model parameters, fit quality, and the method/form used. More...
#include <correlations.h>
Public Types | |
| enum class | Method { Pearson , Spearman } |
| Underlying coefficient family used to compute r. More... | |
| enum class | Form { Identity , Sigmoid , Logarithmic , Exponential , Power } |
| Functional form fitted to the data before computing the coefficient. More... | |
Public Member Functions | |
| Correlation () | |
| void | set_perfect () |
| Sets the correlation to a perfect linear relationship (a=0, b=1, r=1). | |
| void | print () const |
| Prints the correlation parameters and method to stdout. | |
Public Attributes | |
| float | a = NAN |
| float | b = NAN |
| float | r = NAN |
| float | lower_confidence = NAN |
| float | upper_confidence = NAN |
| Method | method = Method::Pearson |
| Form | form = Form::Identity |
Result of a correlation analysis: model parameters, fit quality, and the method/form used.
|
strong |
|
strong |
|
inline |
| void opennn::Correlation::print | ( | ) | const |
Prints the correlation parameters and method to stdout.
| void opennn::Correlation::set_perfect | ( | ) |
Sets the correlation to a perfect linear relationship (a=0, b=1, r=1).
| float opennn::Correlation::a = NAN |
| float opennn::Correlation::b = NAN |
| Form opennn::Correlation::form = Form::Identity |
| float opennn::Correlation::lower_confidence = NAN |
| Method opennn::Correlation::method = Method::Pearson |
| float opennn::Correlation::r = NAN |
| float opennn::Correlation::upper_confidence = NAN |