|
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.
| typedef float Brush::ResidualEvaluator< PT >::Scalar |
Definition at line 32 of file weight_optimizer.h.
|
inline |
Definition at line 33 of file weight_optimizer.h.
|
inline |
|
inline |
|
inline |
|
inlinenodiscard |
Definition at line 91 of file weight_optimizer.h.
|
inlinenodiscard |
Definition at line 92 of file weight_optimizer.h.
|
inlinenoexcept |
Definition at line 41 of file weight_optimizer.h.
|
inline |
|
private |
Definition at line 99 of file weight_optimizer.h.
|
private |
Definition at line 101 of file weight_optimizer.h.
|
private |
Definition at line 98 of file weight_optimizer.h.
|
private |
Definition at line 100 of file weight_optimizer.h.