Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
bind_programs.cpp
Go to the documentation of this file.
1
#include "
module.h
"
2
#include "
bind_programs.h
"
3
namespace
py
=
pybind11
;
4
namespace
br
=
Brush
;
5
namespace
nl
=
nlohmann
;
6
7
// using Reg = br::Program<ArrayXf>;
8
// using Cls = br::Program<ArrayXb>;
9
// using Rep = br::Program<ArrayXXf>;
10
// using MCls = br::Program<ArrayXi>;
11
12
void
bind_programs
(py::module& m)
13
{
14
bind_program<br::RegressorProgram>
(m,
"Regressor"
);
15
bind_program<br::ClassifierProgram>
(m,
"Classifier"
);
16
bind_program<br::MulticlassClassifierProgram>
(m,
"MultiClassifier"
);
17
bind_program<br::RepresenterProgram>
(m,
"Representer"
);
18
}
bind_engine
void bind_engine(py::module &m, string name)
Definition
bind_engines.h:35
bind_programs
void bind_programs(py::module &m)
Definition
bind_programs.cpp:12
bind_programs.h
module.h
Brush
< nsga2 selection operator for getting the front
Definition
data.cpp:12
nlohmann
Definition
utils.h:33
src
bindings
bind_programs.cpp
Generated by
1.10.0