I couldn't find a equivalent CPP version of any ML class, so had to stick with C style.

Are you talking about these lines
###### CV_PROP_RW int regularized;
###### CV_PROP_RW int train_method;
###### CV_PROP_RW int minibatchsize;
###### CV_PROP_RW CvTermCriteria term_crit;

I can put them as regular variables. Or I can replace the struct altogether with a class?