Brush C++ API
A flexible interpretable machine learning framework
|
#include <weight_optimizer.h>
Public Types | |
typedef float | Scalar |
Public Member Functions | |
ResidualEvaluator (PT &program, Dataset const &dataset) | |
template<typename T > | |
auto | operator() (Eigen::DenseBase< T > ¶meters, Eigen::DenseBase< T > &residuals) const noexcept -> void |
template<typename T > | |
auto | operator() (T const *parameters, T *residuals) const -> bool |
auto | NumParameters () const -> size_t |
auto | NumResiduals () const -> size_t |
auto | GetProgram () const |
auto | GetDataset () const |
auto | GetTarget () const |
Private Attributes | |
std::reference_wrapper< PT > | program_ |
std::reference_wrapper< Dataset const > | dataset_ |
std::reference_wrapper< ArrayXf const > | y_true_ |
size_t | numParameters_ |
Definition at line 31 of file weight_optimizer.h.
Definition at line 32 of file weight_optimizer.h.
|
inline |
Definition at line 33 of file weight_optimizer.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 64 of file weight_optimizer.h.
Definition at line 65 of file weight_optimizer.h.
|
inlinenoexcept |
|
inline |
|
private |
Definition at line 72 of file weight_optimizer.h.
|
private |
Definition at line 74 of file weight_optimizer.h.
|
private |
Definition at line 71 of file weight_optimizer.h.
|
private |
Definition at line 73 of file weight_optimizer.h.