skip of table header in MLData (#1962)

This commit is contained in:
Maria Dimashova
2012-05-19 14:34:36 +00:00
parent 094c32ced7
commit 4d36be8794
3 changed files with 40 additions and 3 deletions

View File

@@ -2040,6 +2040,9 @@ public:
const CvMat* get_responses();
const CvMat* get_missing() const;
void set_header_lines_number( int n );
int get_header_lines_number() const;
void set_response_idx( int idx ); // old response become predictors, new response_idx = idx
// if idx < 0 there will be no response
int get_response_idx() const;
@@ -2091,6 +2094,8 @@ protected:
CvMat* var_idx_out; // mat
CvMat* var_types_out; // mat
int header_lines_number;
int response_idx;
int train_sample_count;