![]() |
slope 6.2.1
|
Functions to normalize the design matrix and rescale coefficients in case the design was normalized. More...


Go to the source code of this file.
Namespaces | |
| namespace | slope |
| Namespace containing SLOPE regression implementation. | |
Functions | |
| template<typename T > | |
| void | slope::computeCenters (Eigen::VectorXd &x_centers, const T &x, const std::string &type) |
| template<typename T > | |
| void | slope::computeScales (Eigen::VectorXd &x_scales, const T &x, const std::string &type) |
| template<typename T > | |
| JitNormalization | slope::normalize (Eigen::MatrixBase< T > &x, Eigen::VectorXd &x_centers, Eigen::VectorXd &x_scales, const std::string ¢ering_type, const std::string &scaling_type, const bool modify_x) |
| template<typename T > | |
| JitNormalization | slope::normalize (Eigen::SparseMatrixBase< T > &x, Eigen::VectorXd &x_centers, Eigen::VectorXd &x_scales, const std::string ¢ering_type, const std::string &scaling_type, const bool) |
| std::tuple< Eigen::VectorXd, Eigen::MatrixXd > | slope::rescaleCoefficients (const Eigen::VectorXd &beta0, const Eigen::SparseMatrix< double > &beta, const Eigen::VectorXd &x_centers, const Eigen::VectorXd &x_scales, const bool intercept) |
| Rescales the coefficients using the given parameters. | |
Functions to normalize the design matrix and rescale coefficients in case the design was normalized.
Definition in file normalize.h.