target::Target< T > Class Template Reference
#include <target.hpp>
Inheritance diagram for target::Target< T >:
Public Member Functions | |
Target () | |
Constructor. | |
Target (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Mat< T > &x3, const arma::Col< T > ¶meter, const arma::Col< T > &weights) | |
Target class constructur. More... | |
Target (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Col< T > ¶meter, const arma::Col< T > &weights) | |
Target (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Mat< T > &x3, const arma::Col< T > ¶meter) | |
Target (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Col< T > ¶meter) | |
void | weights (const arma::Col< T > &weights) |
arma::Col< T > | weights () |
arma::Col< T > | A () |
arma::Col< T > | Y () |
arma::Mat< T > | X1 () |
arma::Mat< T > | X2 () |
arma::Mat< T > | X3 () |
void | update_data (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Mat< T > &x3) |
virtual void | calculate (bool target=true, bool nuisance=true, bool propensity=false) |
void | update_par (const arma::Col< T > ¶meter) |
update_par - More... | |
Public Attributes | |
arma::Col< T > | alpha |
arma::Col< T > | beta |
arma::Col< T > | gamma |
Detailed Description
template<class T>
class target::Target< T >
Abstract class for Targeted Learning problems
Definition at line 19 of file target.hpp.
Constructor & Destructor Documentation
template<typename T>
target::Target< T >::Target | ( | const arma::Col< T > & | y, |
const arma::Mat< T > & | a, | ||
const arma::Mat< T > & | x1, | ||
const arma::Mat< T > & | x2, | ||
const arma::Mat< T > & | x3, | ||
const arma::Col< T > & | parameter, | ||
const arma::Col< T > & | weights | ||
) |
Target class constructur.
- Parameters
-
y - Response vector a - Exposure/treatment vector x1 - Design matrix for target model x2 - Design matrix for nuisance model x3 - Design matrix for exposure propensity parameter - Parameter vector (order: target
,nuisance
, and optionallypropensity
)weights - Optional weights
- Returns
- Target class
Definition at line 34 of file target.cpp.
Member Function Documentation
template<typename T>
void target::Target< T >::update_par | ( | const arma::Col< T > & | parameter | ) |
update_par -
- Parameters
-
parameter - Description of parameter
Definition at line 51 of file target.cpp.
The documentation for this class was generated from the following files: