tmp update
This commit is contained in:
parent
9aedd1b8e8
commit
094bbfa70d
@ -30,14 +30,14 @@
|
|||||||
gctl::loss_func::loss_func()
|
gctl::loss_func::loss_func()
|
||||||
{
|
{
|
||||||
init_ = false;
|
init_ = false;
|
||||||
eps_ = 1e-8;
|
eps_ = 1e-16;
|
||||||
tnum_ = 0;
|
tnum_ = 0;
|
||||||
ntype_ = L2;
|
ntype_ = L2;
|
||||||
}
|
}
|
||||||
|
|
||||||
gctl::loss_func::loss_func(const array<double> &tar, norm_type_e n_type, double p, double eps)
|
gctl::loss_func::loss_func(const array<double> &tar, norm_type_e n_type, double p, double eps)
|
||||||
{
|
{
|
||||||
init(tar, n_type);
|
init(tar, n_type, p, eps);
|
||||||
}
|
}
|
||||||
|
|
||||||
gctl::loss_func::~loss_func(){}
|
gctl::loss_func::~loss_func(){}
|
||||||
|
Loading…
Reference in New Issue
Block a user