コード例 #1
0
 def __init__( self ):
      Model.__init__( self )
      self.num_runs = 0
コード例 #2
0
ファイル: pce_regression_example.py プロジェクト: mjasher/agu
 def __init__( self ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.num_dims = 3
     self.A = 7.
     self.B = 0.1
コード例 #3
0
ファイル: pce_regression_example.py プロジェクト: mjasher/agu
 def __init__( self ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.a = numpy.array( [1.,2.,5.,10.,20.,50.,100.,500.] )
コード例 #4
0
ファイル: model.py プロジェクト: jjakeman/pyheat
 def __init__( self, function ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.target_function = function
コード例 #5
0
ファイル: model.py プロジェクト: jjakeman/pyheat
 def __init__( self, path ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.path = path
     self.num_runs = 0
コード例 #6
0
ファイル: model.py プロジェクト: jjakeman/pyheat
 def __init__( self ):
      Model.__init__( self ) # must call c++ object wrapper init function
      self.engine = matlab.MatlabEngine()
      self.engine.start()
      self.num_runs = 0