skip of table header in MLData (#1962)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user