16 #include "../util/error.h"
19 using namespace Eigen;
28 void load_csv (
const std::string & path, MatrixXf& X, VectorXf& y, vector<string>& names,
29 vector<char> &dtypes,
bool& binary_endpoint,
char sep=
',');
33 std::map<
string, std::pair<vector<ArrayXf>, vector<ArrayXf> > > &Z,
38 std::map<
string, std::pair<vector<ArrayXf>, vector<ArrayXf> > > &Z,
39 char sep,
const vector<int>& idx);
void load_longitudinal(const std::string &path, std::map< string, std::pair< vector< ArrayXf >, vector< ArrayXf > > > &Z, char sep)
load longitudinal csv file into matrix.
void load_partial_longitudinal(const std::string &path, std::map< string, std::pair< vector< ArrayXf >, vector< ArrayXf > > > &Z, char sep, const vector< int > &idx)
load partial longitudinal csv file into matrix according to idx vector
void printProgress(float percentage)
outputs a progress bar, filled according to
void load_csv(const std::string &path, MatrixXf &X, VectorXf &y, vector< string > &names, vector< char > &dtypes, bool &binary_endpoint, char sep)
load csv file into matrix.