SG++-Doxygen-Documentation
python.classifier Namespace Reference

Functions

def assembleTrainingVector (dvecs, cvecs, omit)
 
def buildTrainingVector (data)
 
def buildYVector (data)
 
def callback_deprecated (option, opt, value, parser)
 
def constructGrid (dim)
 
def doApply ()
 
def doEval ()
 
def doEvalStdin ()
 
def doFold ()
 
def doFoldf ()
 
def doFoldr ()
 
def doFolds ()
 
def doFoldStratified ()
 
def doNormal ()
 
def doTest ()
 
def evaluateError (classes, alpha, m)
 Subroutine evaluation of error. More...
 
def exec_mode (mode)
 
def format_optionlist (l)
 
def formTxt (te_refine, tr_refine, num_refine, withHeader=True)
 returns txt variable for stats More...
 
def formTxtVal (te_refine, tr_refine, val_refine, num_points, withHeader=True)
 returns txt variable for stats with validation set More...
 
def getEpochsErrorIncreasing (list)
 returns the number of epochs the error is increasing More...
 
def getNumOfPoints (options, grid)
 
def openAlphaFile (filename)
 
def openFile (filename)
 
def performFold (dvec, cvec)
 
def performFoldNew (dvec, cvec, ifold)
 
def performFoldRegression (dvec, cvec)
 
def run (grid, training, classes)
 
def testValuesWithCharacteristicNumbers (grid, alpha, test, classes, evalValues)
 
def testVector (grid, alpha, test, classes)
 
def testVectorFast (grid, alpha, test, classes)
 
def testVectorFastMSE (grid, alpha, test, vals)
 
def testVectorFastWithCharacteristicNumbers (grid, alpha, test, classes)
 
def testVectorValues (grid, alpha, test, classes, evalValues)
 

Variables

 action
 
 args
 
 callback
 
 choices
 
 CMode = options.CMode.lower()
 
 default
 
 dest
 
 False
 
 help
 
 metavar
 
dictionary modes
 
 None
 
 options
 
 parser = OptionParser()
 
 type
 

Function Documentation

def python.classifier.assembleTrainingVector (   dvecs,
  cvecs,
  omit 
)
def python.classifier.buildYVector (   data)
def python.classifier.callback_deprecated (   option,
  opt,
  value,
  parser 
)
def python.classifier.evaluateError (   classes,
  alpha,
  m 
)

Subroutine evaluation of error.

Todo:
remove printing messages from the subroutine and place it into the suited methods

Referenced by python.classifier.doApply(), python.classifier.doEval(), python.classifier.doTest(), and python.classifier.run().

def python.classifier.exec_mode (   mode)
def python.classifier.format_optionlist (   l)
def python.classifier.formTxt (   te_refine,
  tr_refine,
  num_refine,
  withHeader = True 
)
def python.classifier.formTxtVal (   te_refine,
  tr_refine,
  val_refine,
  num_points,
  withHeader = True 
)

returns txt variable for stats with validation set

Referenced by python.classifier.performFoldNew().

def python.classifier.getEpochsErrorIncreasing (   list)

returns the number of epochs the error is increasing

Parameters
listList with MSE's from different refinement iterations

Referenced by python.classifier.doTest().

def python.classifier.openAlphaFile (   filename)
def python.classifier.performFoldRegression (   dvec,
  cvec 
)
def python.classifier.testValuesWithCharacteristicNumbers (   grid,
  alpha,
  test,
  classes,
  evalValues 
)
def python.classifier.testVector (   grid,
  alpha,
  test,
  classes 
)
def python.classifier.testVectorFast (   grid,
  alpha,
  test,
  classes 
)
def python.classifier.testVectorFastMSE (   grid,
  alpha,
  test,
  vals 
)
def python.classifier.testVectorFastWithCharacteristicNumbers (   grid,
  alpha,
  test,
  classes 
)
def python.classifier.testVectorValues (   grid,
  alpha,
  test,
  classes,
  evalValues 
)

Variable Documentation

python.classifier.action
python.classifier.args
python.classifier.choices
python.classifier.CMode = options.CMode.lower()
python.classifier.default
python.classifier.dest
python.classifier.False
python.classifier.help
python.classifier.metavar
dictionary python.classifier.modes
python.classifier.options
python.classifier.parser = OptionParser()
python.classifier.type