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

◆ assembleTrainingVector()

def python.classifier.assembleTrainingVector (   dvecs,
  cvecs,
  omit 
)

◆ buildTrainingVector()

◆ buildYVector()

def python.classifier.buildYVector (   data)

◆ callback_deprecated()

def python.classifier.callback_deprecated (   option,
  opt,
  value,
  parser 
)

◆ constructGrid()

◆ doApply()

◆ doEval()

◆ doEvalStdin()

◆ doFold()

◆ doFoldf()

◆ doFoldr()

◆ doFolds()

◆ doFoldStratified()

◆ doNormal()

◆ doTest()

◆ evaluateError()

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().

◆ exec_mode()

def python.classifier.exec_mode (   mode)

◆ format_optionlist()

def python.classifier.format_optionlist (   l)

◆ formTxt()

def python.classifier.formTxt (   te_refine,
  tr_refine,
  num_refine,
  withHeader = True 
)

◆ formTxtVal()

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().

◆ getEpochsErrorIncreasing()

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().

◆ getNumOfPoints()

◆ openAlphaFile()

def python.classifier.openAlphaFile (   filename)

◆ openFile()

◆ performFold()

◆ performFoldNew()

◆ performFoldRegression()

def python.classifier.performFoldRegression (   dvec,
  cvec 
)

◆ run()

◆ testValuesWithCharacteristicNumbers()

def python.classifier.testValuesWithCharacteristicNumbers (   grid,
  alpha,
  test,
  classes,
  evalValues 
)

◆ testVector()

def python.classifier.testVector (   grid,
  alpha,
  test,
  classes 
)

◆ testVectorFast()

def python.classifier.testVectorFast (   grid,
  alpha,
  test,
  classes 
)

◆ testVectorFastMSE()

def python.classifier.testVectorFastMSE (   grid,
  alpha,
  test,
  vals 
)

◆ testVectorFastWithCharacteristicNumbers()

def python.classifier.testVectorFastWithCharacteristicNumbers (   grid,
  alpha,
  test,
  classes 
)

◆ testVectorValues()

def python.classifier.testVectorValues (   grid,
  alpha,
  test,
  classes,
  evalValues 
)

Variable Documentation

◆ action

python.classifier.action

◆ args

python.classifier.args

◆ callback

◆ choices

python.classifier.choices

◆ CMode

python.classifier.CMode = options.CMode.lower()

◆ default

python.classifier.default

◆ dest

python.classifier.dest

◆ False

python.classifier.False

◆ help

python.classifier.help

◆ metavar

python.classifier.metavar

◆ modes

dictionary python.classifier.modes

◆ None

◆ options

python.classifier.options

◆ parser

python.classifier.parser = OptionParser()

◆ type

python.classifier.type