Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
ress
inc
WireCellRess
LassoModel.h
Go to the documentation of this file.
1
#ifndef WIRECELLRESS_LASSOMODEL_H
2
#define WIRECELLRESS_LASSOMODEL_H
3
4
#include "
WireCellRess/ElasticNetModel.h
"
5
6
namespace
WireCell
{
7
8
class
LassoModel
:
public
ElasticNetModel
{
9
public
:
10
LassoModel
(
double
lambda
=1.,
int
max_iter
=100000,
double
TOL
=1
e
-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
WireCell::ElasticNetModel::max_iter
int max_iter
Definition:
ElasticNetModel.h:17
WireCell::ElasticNetModel::TOL
double TOL
Definition:
ElasticNetModel.h:18
WireCell::ElasticNetModel
Definition:
ElasticNetModel.h:10
WireCell::LassoModel::LassoModel
LassoModel(double lambda=1., int max_iter=100000, double TOL=1e-3, bool non_negtive=true)
Definition:
LassoModel.cxx:14
WireCell::LassoModel
Definition:
LassoModel.h:8
e
const double e
Definition:
gUpMuFluxGen.cxx:165
values
Q_UINT16 values[128]
Definition:
qtextcodec.cpp:1352
WireCell::LassoModel::chi2_l1
double chi2_l1()
Definition:
LassoModel.cxx:125
WireCell
Definition:
Main.h:22
WireCell::LassoModel::Fit
void Fit()
Definition:
LassoModel.cxx:32
ElasticNetModel.h
WireCell::LassoModel::~LassoModel
~LassoModel()
Definition:
LassoModel.cxx:20
WireCell::ElasticNetModel::non_negtive
bool non_negtive
Definition:
ElasticNetModel.h:19
WireCell::LassoModel::Set_init_values
void Set_init_values(std::vector< double > values)
Definition:
LassoModel.cxx:23
WireCell::ElasticNetModel::lambda
double lambda
Definition:
ElasticNetModel.h:15
Generated by
1.8.11