OpenCV  2.4.13.6
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() [1/3]

CvTrainTestSplit::CvTrainTestSplit ( )

§ CvTrainTestSplit() [2/3]

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

§ CvTrainTestSplit() [3/3]

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

Member Data Documentation

§ count

int CvTrainTestSplit::count

§ mix

bool CvTrainTestSplit::mix

§ portion

float CvTrainTestSplit::portion

§ train_sample_part

union { ... } CvTrainTestSplit::train_sample_part

§ train_sample_part_mode

int CvTrainTestSplit::train_sample_part_mode

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