예제 #1
0
 def __init__(self, *args):
     this = _svmc.new_svm_parameter(*args)
     try:
         self.this.append(this)
     except:
         self.this = this
예제 #2
0
 def __init__(self,**kw):
     self.__dict__['param'] = svmc.new_svm_parameter()
     for attr,val in self.default_parameters.items():
         setattr(self,attr,val)
     for attr,val in kw.items():
         setattr(self,attr,val)
예제 #3
0
 def __init__(self, *args): 
     this = _svmc.new_svm_parameter(*args)
     try: self.this.append(this)
     except: self.this = this