|
void | FT::Util::clean (ArrayXf &x) |
| limits node output to be between MIN_FLT and MAX_FLT More...
|
|
void | FT::Util::clean (VectorXf &x) |
|
std::string | FT::Util::ltrim (std::string str, const std::string &chars) |
|
std::string | FT::Util::rtrim (std::string str, const std::string &chars) |
|
std::string | FT::Util::trim (std::string str, const std::string &chars) |
|
template<typename T > |
bool | FT::Util::in (const vector< T > v, const T &i) |
| check if element is in vector. More...
|
|
float | FT::Util::median (const ArrayXf &v) |
| calculate median More...
|
|
float | FT::Util::variance (const ArrayXf &v, float mean) |
| calculate variance when mean provided More...
|
|
float | FT::Util::variance (const ArrayXf &v) |
| calculate variance More...
|
|
float | FT::Util::skew (const ArrayXf &v) |
| calculate skew More...
|
|
float | FT::Util::kurtosis (const ArrayXf &v) |
| calculate kurtosis More...
|
|
float | FT::Util::covariance (const ArrayXf &x, const ArrayXf &y) |
| covariance of x and y More...
|
|
float | FT::Util::slope (const ArrayXf &x, const ArrayXf &y) |
| slope of x/y More...
|
|
float | FT::Util::pearson_correlation (const ArrayXf &x, const ArrayXf &y) |
| the normalized covariance of x and y More...
|
|
float | FT::Util::mad (const ArrayXf &x) |
| median absolute deviation More...
|
|
template<typename T > |
vector< size_t > | FT::Util::argsort (const vector< T > &v, bool ascending=true) |
| return indices that sort a vector More...
|
|
template<typename T > |
vector< T > | FT::Util::softmax (const vector< T > &w) |
| return the softmax transformation of a vector. More...
|
|
ArrayXb | FT::Util::isinf (const ArrayXf &x) |
| returns true for elements of x that are infinite More...
|
|
ArrayXb | FT::Util::isnan (const ArrayXf &x) |
| returns true for elements of x that are NaN More...
|
|
vector< char > | FT::Util::find_dtypes (const MatrixXf &X) |
| determines data types of columns of matrix X. More...
|
|
template<typename T > |
vector< T > | FT::Util::unique (vector< T > w) |
| returns unique elements in vector More...
|
|
template<typename T > |
vector< T > | FT::Util::unique (Matrix< T, -1, -1 > w) |
| returns unique elements in Eigen matrix of variable rows/cols More...
|
|
template<typename T > |
vector< T > | FT::Util::unique (Matrix< T, -1, 1 > w) |
| returns unique elements in Eigen vector More...
|
|
template<typename T > |
vector< T > | FT::Util::unique (Array< T, -1, 1 > w) |
| returns unique elements in 1d Eigen array More...
|
|
float | FT::Util::condition_number (const MatrixXf &X) |
| returns the condition number of a matrix. More...
|
|
MatrixXf | FT::Util::corrcoef (const MatrixXf &X) |
| returns the pearson correlation coefficients of matrix. More...
|
|
float | FT::Util::mean_square_corrcoef (const MatrixXf &X) |
|
int | FT::Util::argmiddle (vector< float > &v) |
| returns the (first) index of the element with the middlest value in v More...
|
|
| FT::Util::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (Log_Stats, generation, time, min_loss, min_loss_v, med_loss, med_loss_v, med_size, med_complexity, med_num_params, med_dim) |
|
template<typename T > |
std::string | FT::Util::to_string (const T &value) |
| template function to convert objects to string for logging More...
|
|
template<typename T > |
std::string | FT::Util::to_string (const T a_value, const int n) |
|
std::string | FT::Util::ravel (const vector< string > &v, string sep=",") |
| takes a vector string and returns it as a delimited string. More...
|
|