LassoModel.h
Go to the documentation of this file.
1 #ifndef WIRECELLRESS_LASSOMODEL_H
2 #define WIRECELLRESS_LASSOMODEL_H
3 
5 
6 namespace WireCell {
7 
8 class LassoModel: public ElasticNetModel {
9 public:
10  LassoModel(double lambda=1., int max_iter=100000, double TOL=1e-3, bool non_negtive=true);
11  ~LassoModel();
12 
13  void Fit();
14  void Set_init_values(std::vector<double> values);
15 
16  double chi2_l1();
17 
18 };
19 
20 }
21 
22 #endif
LassoModel(double lambda=1., int max_iter=100000, double TOL=1e-3, bool non_negtive=true)
Definition: LassoModel.cxx:14
const double e
Q_UINT16 values[128]
Definition: Main.h:22
void Set_init_values(std::vector< double > values)
Definition: LassoModel.cxx:23