OpenCV  2.4.13
Open Source Computer Vision
CvTrainTestSplit Struct Reference

#include <ml.hpp>

Public Member Functions

 CvTrainTestSplit ()
 
 CvTrainTestSplit (int train_sample_count, bool mix=true)
 
 CvTrainTestSplit (float train_sample_portion, bool mix=true)
 

Public Attributes

union {
   int   count
 
   float   portion
 
train_sample_part
 
int train_sample_part_mode
 
bool mix
 

Constructor & Destructor Documentation

CvTrainTestSplit::CvTrainTestSplit ( )
CvTrainTestSplit::CvTrainTestSplit ( int  train_sample_count,
bool  mix = true 
)
CvTrainTestSplit::CvTrainTestSplit ( float  train_sample_portion,
bool  mix = true 
)

Member Data Documentation

int CvTrainTestSplit::count
bool CvTrainTestSplit::mix
float CvTrainTestSplit::portion
union { ... } CvTrainTestSplit::train_sample_part
int CvTrainTestSplit::train_sample_part_mode

The documentation for this struct was generated from the following file: