Update src/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp

Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
mercierc
2020-07-23 09:18:05 +02:00
committed by GitHub
co-authored by Ryan Curtin
parent ebf63a5edb
commit ebbe693800
@@ -112,8 +112,8 @@ PARAM_FLAG("scale", "Scale each feature by their standard deviations if "
static void mlpackMain()
{
bool center = CLI::GetParam<bool>("center");
bool scale = CLI::GetParam<bool>("scale");
bool center = IO::GetParam<bool>("center");
bool scale = IO::GetParam<bool>("scale");
// Check parameters -- make sure everything given makes sense.
RequireOnlyOnePassed({"input", "input_model"}, true);