yet another portion of changes towards the binary compatibility
This commit is contained in:
@@ -505,7 +505,7 @@ public:
|
||||
CvParamGrid degreeGrid = CvSVM::get_default_grid(CvSVM::DEGREE),
|
||||
bool balanced=false);
|
||||
CV_WRAP virtual float predict( const cv::Mat& sample, bool returnDFVal=false ) const;
|
||||
CV_WRAP_AS(predict_all) virtual void predict( cv::InputArray samples, cv::OutputArray results ) const;
|
||||
CV_WRAP_AS(predict_all) void predict( cv::InputArray samples, cv::OutputArray results ) const;
|
||||
|
||||
CV_WRAP virtual int get_support_vector_count() const;
|
||||
virtual const float* get_support_vector(int i) const;
|
||||
@@ -2080,8 +2080,6 @@ protected:
|
||||
CvMat* var_idx_out; // mat
|
||||
CvMat* var_types_out; // mat
|
||||
|
||||
int header_lines_number;
|
||||
|
||||
int response_idx;
|
||||
|
||||
int train_sample_count;
|
||||
@@ -2095,6 +2093,8 @@ protected:
|
||||
int* sample_idx; // data of train_sample_idx and test_sample_idx
|
||||
|
||||
cv::RNG* rng;
|
||||
|
||||
int header_lines_number;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user