9using stream_redirect = py::call_guard<py::scoped_ostream_redirect, py::scoped_estream_redirect>;
11template <br::ProgramType T>
14 using Class = br::Eval::Evaluation<T>;
16 py::class_<Class> eval(m, name.data() );
17 eval.def(py::init<>())
18 .def(
"assign_fit", &Class::assign_fit)
19 .def_property(
"scorer", &Class::get_scorer, &Class::set_scorer)
void bind_engine(py::module &m, string name)
py::call_guard< py::scoped_ostream_redirect, py::scoped_estream_redirect > stream_redirect
void bind_evaluator(py::module &m, string name)
< nsga2 selection operator for getting the front