SG++-Doxygen-Documentation
|
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 | |
def python.classifier.assembleTrainingVector | ( | dvecs, | |
cvecs, | |||
omit | |||
) |
def python.classifier.buildTrainingVector | ( | data | ) |
def python.classifier.buildYVector | ( | data | ) |
def python.classifier.callback_deprecated | ( | option, | |
opt, | |||
value, | |||
parser | |||
) |
def python.classifier.constructGrid | ( | dim | ) |
References python.tools.readGrid().
Referenced by python.classifier.doApply(), python.classifier.doEval(), python.classifier.doEvalStdin(), python.classifier.doNormal(), python.classifier.doTest(), python.classifier.performFold(), python.classifier.performFoldNew(), and python.classifier.performFoldRegression().
def python.classifier.doApply | ( | ) |
def python.classifier.doEval | ( | ) |
def python.classifier.doEvalStdin | ( | ) |
def python.classifier.doFold | ( | ) |
def python.classifier.doFoldf | ( | ) |
def python.classifier.doFoldr | ( | ) |
def python.classifier.doFolds | ( | ) |
def python.classifier.doFoldStratified | ( | ) |
def python.classifier.doNormal | ( | ) |
def python.classifier.doTest | ( | ) |
References python.classifier.buildTrainingVector(), python.classifier.buildYVector(), python.painlesscg.cg_new(), python.classifier.constructGrid(), python.classifier.evaluateError(), python.classifier.formTxt(), python.classifier.getEpochsErrorIncreasing(), python.classifier.getNumOfPoints(), python.classifier.openFile(), python.uq.operations.discretizeProduct.refine(), python.classifier.testVectorFastWithCharacteristicNumbers(), python.tools.writeAlphaARFF(), python.tools.writeCheckpoint(), python.tools.writeGnuplot(), python.tools.writeGrid(), and python.tools.writeStats().
def python.classifier.evaluateError | ( | classes, | |
alpha, | |||
m | |||
) |
Subroutine evaluation of error.
Referenced by python.classifier.doApply(), python.classifier.doEval(), python.classifier.doTest(), and python.classifier.run().
def python.classifier.exec_mode | ( | mode | ) |
References python.classifier.format_optionlist(), and python.classifier.type.
def python.classifier.format_optionlist | ( | l | ) |
References sgpp::combigrid.join(), and python.classifier.type.
Referenced by python.classifier.exec_mode().
def python.classifier.formTxt | ( | te_refine, | |
tr_refine, | |||
num_refine, | |||
withHeader = True |
|||
) |
returns txt variable for stats
Referenced by python.classifier.doTest(), python.classifier.performFold(), and python.classifier.performFoldRegression().
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
list | List with MSE's from different refinement iterations |
Referenced by python.classifier.doTest().
def python.classifier.getNumOfPoints | ( | options, | |
grid | |||
) |
def python.classifier.openAlphaFile | ( | filename | ) |
References python.tools.readAlpha().
Referenced by python.classifier.doApply(), python.classifier.doEval(), and python.classifier.doEvalStdin().
def python.classifier.openFile | ( | filename | ) |
References python.tools.readData().
Referenced by python.testcondition.calc_condition(), python.classifier.doApply(), python.classifier.doEval(), python.classifier.doFold(), python.classifier.doFoldf(), python.classifier.doFoldr(), python.classifier.doFolds(), python.classifier.doFoldStratified(), python.classifier.doNormal(), and python.classifier.doTest().
def python.classifier.performFold | ( | dvec, | |
cvec | |||
) |
References python.classifier.assembleTrainingVector(), python.painlesscg.cg_new(), python.classifier.constructGrid(), python.classifier.formTxt(), python.classifier.getNumOfPoints(), python.uq.operations.discretizeProduct.refine(), python.classifier.testVectorFast(), python.tools.writeCheckpoint(), and python.tools.writeStats().
Referenced by python.classifier.doFold(), python.classifier.doFoldf(), python.classifier.doFoldr(), and python.classifier.doFolds().
def python.classifier.performFoldNew | ( | dvec, | |
cvec, | |||
ifold | |||
) |
References python.classifier.assembleTrainingVector(), python.painlesscg.cg_new(), python.classifier.constructGrid(), python.classifier.formTxtVal(), python.classifier.getNumOfPoints(), python.uq.operations.discretizeProduct.refine(), python.tools.split_DataVectors_by_proportion_stratified(), python.classifier.testVectorFast(), python.tools.writeCheckpoint(), and python.tools.writeStats().
Referenced by python.classifier.doFoldStratified().
def python.classifier.performFoldRegression | ( | dvec, | |
cvec | |||
) |
Perform n-fold cross-validation. @param dvec contains n DataMatrices for the single folds; @param cvec contains n DataVectors with function values for the single folds
References python.classifier.assembleTrainingVector(), python.painlesscg.cg_new(), python.classifier.constructGrid(), python.classifier.formTxt(), python.classifier.getNumOfPoints(), python.uq.operations.discretizeProduct.refine(), python.classifier.testVectorFastMSE(), python.tools.writeCheckpoint(), and python.tools.writeStats().
Referenced by python.classifier.doFold(), python.classifier.doFoldf(), python.classifier.doFoldr(), and python.classifier.doFolds().
def python.classifier.run | ( | grid, | |
training, | |||
classes | |||
) |
References python.painlesscg.cg_new(), python.classifier.evaluateError(), python.classifier.getNumOfPoints(), python.uq.operations.discretizeProduct.refine(), and python.tools.writeCheckpoint().
Referenced by python.classifier.doNormal(), and python.uq.uq_setting.UQSettingManager.UQSettingManager.sample().
def python.classifier.testValuesWithCharacteristicNumbers | ( | grid, | |
alpha, | |||
test, | |||
classes, | |||
evalValues | |||
) |
References sgpp::op_factory.createOperationEval().
def python.classifier.testVector | ( | grid, | |
alpha, | |||
test, | |||
classes | |||
) |
References sgpp::op_factory.createOperationEval().
def python.classifier.testVectorFast | ( | grid, | |
alpha, | |||
test, | |||
classes | |||
) |
References sgpp::op_factory.createOperationTest(), and python.convergence.test().
Referenced by python.classifier.performFold(), and python.classifier.performFoldNew().
def python.classifier.testVectorFastMSE | ( | grid, | |
alpha, | |||
test, | |||
vals | |||
) |
References sgpp::op_factory.createOperationTest().
Referenced by python.classifier.performFoldRegression().
def python.classifier.testVectorFastWithCharacteristicNumbers | ( | grid, | |
alpha, | |||
test, | |||
classes | |||
) |
References sgpp::op_factory.createOperationTest().
Referenced by python.classifier.doTest().
def python.classifier.testVectorValues | ( | grid, | |
alpha, | |||
test, | |||
classes, | |||
evalValues | |||
) |
python.classifier.action |
python.classifier.args |
python.classifier.callback |
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.None |
python.classifier.options |
python.classifier.parser = OptionParser() |
python.classifier.type |
Referenced by python.classifier.exec_mode(), and python.classifier.format_optionlist().