data holding X, y, and Z data
More...
#include <data.h>
data holding X, y, and Z data
Definition at line 41 of file data.h.
◆ Data()
FT::Dat::Data::Data |
( |
MatrixXf & |
X, |
|
|
VectorXf & |
y, |
|
|
LongData & |
Z, |
|
|
bool |
c = false , |
|
|
vector< bool > |
protect = vector<bool>() |
|
) |
| |
◆ get_batch()
void FT::Dat::Data::get_batch |
( |
Data & |
db, |
|
|
int |
batch_size |
|
) |
| const |
select random subset of data for training weights.
Definition at line 79 of file data.cc.
◆ set_protected_groups()
void FT::Dat::Data::set_protected_groups |
( |
| ) |
|
◆ set_validation()
void FT::Dat::Data::set_validation |
( |
bool |
v = true | ) |
|
◆ cases
vector<ArrayXb> FT::Dat::Data::cases |
◆ classification
bool FT::Dat::Data::classification |
◆ group_intersections
int FT::Dat::Data::group_intersections |
◆ protect
vector<bool> FT::Dat::Data::protect |
◆ protect_levels
map<int,vector<float> > FT::Dat::Data::protect_levels |
◆ protected_groups
vector<int> FT::Dat::Data::protected_groups |
◆ validation
bool FT::Dat::Data::validation |
MatrixXf& FT::Dat::Data::X |
VectorXf& FT::Dat::Data::y |
The documentation for this class was generated from the following files: