Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
ExplanationDataset Struct Reference

Public Member Functions

 ExplanationDataset (tfloat *X, bool *X_missing, tfloat *y, tfloat *R, bool *R_missing, unsigned num_X, unsigned M, unsigned num_R, unsigned num_Exp)
 
 ExplanationDataset (tfloat *X, bool *X_missing, tfloat *y, tfloat *R, bool *R_missing, unsigned num_X, unsigned M, unsigned num_R)
 
void get_x_instance (ExplanationDataset &instance, const unsigned i) const
 

Data Fields

tfloat * X
 vector of all data. each row is sample of all features for that sample. cols(2nd dim) are features
 
bool * X_missing
 bool mask to return true on missing value on matrix - same structure as X
 
tfloat * y
 the labels
 
tfloat * R
 
bool * R_missing
 
unsigned num_X
 number of samples
 
unsigned M
 Features count.
 
unsigned num_Exp
 
unsigned num_R
 number of explanation features (allowing for grouping)
 

The documentation for this struct was generated from the following files: