Commit 72a3a00f authored by Federico Allocati's avatar Federico Allocati
Browse files

Changed all parameters to double

parent 0eb40efc
......@@ -16,12 +16,12 @@ BO_PARAMS(std::cout,
};
struct ucb {
BO_PARAM(float, alpha, 0.1);
BO_PARAM(double, alpha, 0.1);
};
struct kf_maternfivehalfs {
BO_PARAM(float, sigma, 1);
BO_PARAM(float, l, 0.2);
BO_PARAM(double, sigma, 1);
BO_PARAM(double, l, 0.2);
};
struct boptimizer {
......
......@@ -15,8 +15,8 @@ struct Params {
};
struct kf_maternfivehalfs {
BO_PARAM(float, sigma, 1);
BO_PARAM(float, l, 0.2);
BO_PARAM(double, sigma, 1);
BO_PARAM(double, l, 0.2);
};
struct boptimizer {
......
......@@ -20,8 +20,8 @@ struct Params {
};
struct kf_maternfivehalfs {
BO_PARAM(float, sigma, 1);
BO_PARAM(float, l, 0.2);
BO_PARAM(double, sigma, 1);
BO_PARAM(double, l, 0.2);
};
struct boptimizer {
......
......@@ -9,7 +9,7 @@ namespace limbo {
namespace defaults {
struct gp_ucb {
BO_PARAM(float, delta, 0.001);
BO_PARAM(double, delta, 0.001);
};
}
......
......@@ -9,7 +9,7 @@ namespace limbo {
namespace defaults {
struct ucb {
BO_PARAM(float, alpha, 0.5);
BO_PARAM(double, alpha, 0.5);
};
}
......
......@@ -24,11 +24,11 @@ struct Params {
};
struct kf_maternfivehalfs {
BO_PARAM(float, sigma, 1);
BO_PARAM(float, l, 0.4);
BO_PARAM(double, sigma, 1);
BO_PARAM(double, l, 0.4);
};
struct ucb {
BO_PARAM(float, alpha, 0.125);
BO_PARAM(double, alpha, 0.125);
};
struct init {
BO_PARAM(int, nb_samples, 5);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment