templat<typename T, typename I = unsigned long, typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
struct SLRegressionVisitor;
|
This functor class calculates simple linear regression between x and y columns
It produces slop, intercept, and correlation
|
T: Column data type.
I: Index type.
|