1 #ifndef WIRECELLRESS_ELASTICNETMODEL_H 2 #define WIRECELLRESS_ELASTICNETMODEL_H
std::vector< bool > _active_beta
void SetLambdaWeight(Eigen::VectorXd w)
virtual void SetX(Eigen::MatrixXd X)
ElasticNetModel(double lambda=1., double alpha=1., int max_iter=100000, double TOL=1e-3, bool non_negtive=true)
void SetX(Eigen::MatrixXd X)
double _soft_thresholding(double x, double lambda_)
void SetLambdaWeight(int i, double weight)
Eigen::VectorXd lambda_weight