+CV_COUNT = _ml.CV_COUNT
+CV_PORTION = _ml.CV_PORTION
+class CvTrainTestSplit(_object):
+ __swig_setmethods__ = {}
+ __setattr__ = lambda self, name, value: _swig_setattr(self, CvTrainTestSplit, name, value)
+ __swig_getmethods__ = {}
+ __getattr__ = lambda self, name: _swig_getattr(self, CvTrainTestSplit, name)
+ __repr__ = _swig_repr
+ def __init__(self, *args):
+ this = _ml.new_CvTrainTestSplit(*args)
+ try: self.this.append(this)
+ except: self.this = this
+ __swig_setmethods__["train_sample_part_mode"] = _ml.CvTrainTestSplit_train_sample_part_mode_set
+ __swig_getmethods__["train_sample_part_mode"] = _ml.CvTrainTestSplit_train_sample_part_mode_get
+ if _newclass:train_sample_part_mode = _swig_property(_ml.CvTrainTestSplit_train_sample_part_mode_get, _ml.CvTrainTestSplit_train_sample_part_mode_set)
+ __swig_setmethods__["class_part_mode"] = _ml.CvTrainTestSplit_class_part_mode_set
+ __swig_getmethods__["class_part_mode"] = _ml.CvTrainTestSplit_class_part_mode_get
+ if _newclass:class_part_mode = _swig_property(_ml.CvTrainTestSplit_class_part_mode_get, _ml.CvTrainTestSplit_class_part_mode_set)
+ __swig_setmethods__["mix"] = _ml.CvTrainTestSplit_mix_set
+ __swig_getmethods__["mix"] = _ml.CvTrainTestSplit_mix_get
+ if _newclass:mix = _swig_property(_ml.CvTrainTestSplit_mix_get, _ml.CvTrainTestSplit_mix_set)
+ __swig_getmethods__["class_part"] = _ml.CvTrainTestSplit_class_part_get
+ if _newclass:class_part = _swig_property(_ml.CvTrainTestSplit_class_part_get)
+ __swig_getmethods__["train_sample_part"] = _ml.CvTrainTestSplit_train_sample_part_get
+ if _newclass:train_sample_part = _swig_property(_ml.CvTrainTestSplit_train_sample_part_get)
+ __swig_destroy__ = _ml.delete_CvTrainTestSplit
+ __del__ = lambda self : None;
+CvTrainTestSplit_swigregister = _ml.CvTrainTestSplit_swigregister
+CvTrainTestSplit_swigregister(CvTrainTestSplit)
+
+class CvTrainTestSplit_class_part(_object):
+ __swig_setmethods__ = {}
+ __setattr__ = lambda self, name, value: _swig_setattr(self, CvTrainTestSplit_class_part, name, value)
+ __swig_getmethods__ = {}
+ __getattr__ = lambda self, name: _swig_getattr(self, CvTrainTestSplit_class_part, name)
+ __repr__ = _swig_repr
+ __swig_setmethods__["count"] = _ml.CvTrainTestSplit_class_part_count_set
+ __swig_getmethods__["count"] = _ml.CvTrainTestSplit_class_part_count_get
+ if _newclass:count = _swig_property(_ml.CvTrainTestSplit_class_part_count_get, _ml.CvTrainTestSplit_class_part_count_set)
+ __swig_setmethods__["portion"] = _ml.CvTrainTestSplit_class_part_portion_set
+ __swig_getmethods__["portion"] = _ml.CvTrainTestSplit_class_part_portion_get
+ if _newclass:portion = _swig_property(_ml.CvTrainTestSplit_class_part_portion_get, _ml.CvTrainTestSplit_class_part_portion_set)
+ def __init__(self):
+ this = _ml.new_CvTrainTestSplit_class_part()
+ try: self.this.append(this)
+ except: self.this = this
+ __swig_destroy__ = _ml.delete_CvTrainTestSplit_class_part
+ __del__ = lambda self : None;
+CvTrainTestSplit_class_part_swigregister = _ml.CvTrainTestSplit_class_part_swigregister
+CvTrainTestSplit_class_part_swigregister(CvTrainTestSplit_class_part)
+
+class CvTrainTestSplit_train_sample_part(_object):
+ __swig_setmethods__ = {}
+ __setattr__ = lambda self, name, value: _swig_setattr(self, CvTrainTestSplit_train_sample_part, name, value)
+ __swig_getmethods__ = {}
+ __getattr__ = lambda self, name: _swig_getattr(self, CvTrainTestSplit_train_sample_part, name)
+ __repr__ = _swig_repr
+ __swig_setmethods__["count"] = _ml.CvTrainTestSplit_train_sample_part_count_set
+ __swig_getmethods__["count"] = _ml.CvTrainTestSplit_train_sample_part_count_get
+ if _newclass:count = _swig_property(_ml.CvTrainTestSplit_train_sample_part_count_get, _ml.CvTrainTestSplit_train_sample_part_count_set)
+ __swig_setmethods__["portion"] = _ml.CvTrainTestSplit_train_sample_part_portion_set
+ __swig_getmethods__["portion"] = _ml.CvTrainTestSplit_train_sample_part_portion_get
+ if _newclass:portion = _swig_property(_ml.CvTrainTestSplit_train_sample_part_portion_get, _ml.CvTrainTestSplit_train_sample_part_portion_set)
+ def __init__(self):
+ this = _ml.new_CvTrainTestSplit_train_sample_part()
+ try: self.this.append(this)
+ except: self.this = this
+ __swig_destroy__ = _ml.delete_CvTrainTestSplit_train_sample_part
+ __del__ = lambda self : None;
+CvTrainTestSplit_train_sample_part_swigregister = _ml.CvTrainTestSplit_train_sample_part_swigregister
+CvTrainTestSplit_train_sample_part_swigregister(CvTrainTestSplit_train_sample_part)
+
+class CvMLData(_object):
+ __swig_setmethods__ = {}
+ __setattr__ = lambda self, name, value: _swig_setattr(self, CvMLData, name, value)
+ __swig_getmethods__ = {}
+ __getattr__ = lambda self, name: _swig_getattr(self, CvMLData, name)
+ __repr__ = _swig_repr
+ def __init__(self):
+ this = _ml.new_CvMLData()
+ try: self.this.append(this)
+ except: self.this = this
+ __swig_destroy__ = _ml.delete_CvMLData
+ __del__ = lambda self : None;
+ def read_csv(self, *args): return _ml.CvMLData_read_csv(self, *args)
+ def get_values(self): return _ml.CvMLData_get_values(self)
+ def get_responses(self): return _ml.CvMLData_get_responses(self)
+ def get_missing(self): return _ml.CvMLData_get_missing(self)
+ def set_response_idx(self, *args): return _ml.CvMLData_set_response_idx(self, *args)
+ def get_response_idx(self): return _ml.CvMLData_get_response_idx(self)
+ def get_train_sample_idx(self): return _ml.CvMLData_get_train_sample_idx(self)
+ def get_test_sample_idx(self): return _ml.CvMLData_get_test_sample_idx(self)
+ def mix_train_and_test_idx(self): return _ml.CvMLData_mix_train_and_test_idx(self)
+ def set_train_test_split(self, *args): return _ml.CvMLData_set_train_test_split(self, *args)
+ def get_var_idx(self): return _ml.CvMLData_get_var_idx(self)
+ def chahge_var_idx(self, *args): return _ml.CvMLData_chahge_var_idx(self, *args)
+ def get_var_types(self): return _ml.CvMLData_get_var_types(self)
+ def get_var_type(self, *args): return _ml.CvMLData_get_var_type(self, *args)
+ def set_var_types(self, *args): return _ml.CvMLData_set_var_types(self, *args)
+ def change_var_type(self, *args): return _ml.CvMLData_change_var_type(self, *args)
+ def set_delimiter(self, *args): return _ml.CvMLData_set_delimiter(self, *args)
+ def get_delimiter(self): return _ml.CvMLData_get_delimiter(self)
+ def set_miss_ch(self, *args): return _ml.CvMLData_set_miss_ch(self, *args)
+ def get_miss_ch(self): return _ml.CvMLData_get_miss_ch(self)
+CvMLData_swigregister = _ml.CvMLData_swigregister
+CvMLData_swigregister(CvMLData)
+