icub-client
Classes | Functions | Variables
SAM.SAM_Core.samOptimiser Namespace Reference

Classes

class  modelOptClass
 Class to perform optimisation of SAM Models. More...
 

Functions

def deleteModel (modelDir, newName)
 Utility function to delete models. More...
 
def main ()
 Sets up the modelOptClass and calls GPyOpt optimisation for 200 iterations. More...
 

Variables

 precision
 
bool optNotFound = False
 

Function Documentation

◆ deleteModel()

def SAM.SAM_Core.samOptimiser.deleteModel (   modelDir,
  newName 
)

Utility function to delete models.

Parameters
modelDirDirectory containing the model to delete.
newNameSubset of model files to delete. Either best, backup or exp.
Returns
None

Definition at line 472 of file samOptimiser.py.

◆ main()

def SAM.SAM_Core.samOptimiser.main ( )

Sets up the modelOptClass and calls GPyOpt optimisation for 200 iterations.

Same arguments as modelOptClass.init().

Returns
0 if completed successfully. -1 if completed unsuccessfully.

Definition at line 488 of file samOptimiser.py.

Variable Documentation

◆ optNotFound

bool SAM.SAM_Core.samOptimiser.optNotFound = False

Definition at line 26 of file samOptimiser.py.

◆ precision

SAM.SAM_Core.samOptimiser.precision

Definition at line 24 of file samOptimiser.py.