SG++-Doxygen-Documentation
tools.py File Reference

Classes

class  python.tools.Matrix
 

Namespaces

 python.tools
 

Functions

def python.tools.appendToDict (dict, key, val)
 
def python.tools.checkData (data)
 
def python.tools.gzOpen (filename, mode="r")
 
def python.tools.isARFFFile (filename)
 
def python.tools.makedir (path, verbose=False)
 
def python.tools.normalize (data, border=0.0, filename=None, minvals=None, maxvals=None, verbose=False)
 
def python.tools.normalizeClasses (data, border=0.0, minborder=-sys.maxsize-1, verbose=False)
 
def python.tools.readAlpha (filename)
 
def python.tools.readAlphaARFF (filename)
 
def python.tools.readAlphaTrivial (filename, delim=None)
 
def python.tools.readCheckpoint (filename)
 
def python.tools.readData (filename)
 
def python.tools.readDataARFF (filename)
 
def python.tools.readDataTrivial (filename, delim=None, hasclass=True)
 
def python.tools.readGrid (filename)
 
def python.tools.readGridAlpha (fnamegrid, fnamealpha)
 
def python.tools.readNormfile (filename)
 
def python.tools.split_DataVector_by_proportion (data, proportion)
 
def python.tools.split_DataVectors_by_proportion_stratified (data, classes, proportion)
 
def python.tools.split_n_folds (data, num_partitions, seed=None)
 
def python.tools.split_n_folds_sequential (data, num_partitions)
 
def python.tools.split_n_folds_stratified (data, num_partitions, seed=None)
 
def python.tools.writeAlphaARFF (filename, alpha)
 
def python.tools.writeCheckpoint (filename, grid, alpha, adaption=None, fold=None)
 
def python.tools.writeDataARFF (data, merge=False)
 
def python.tools.writeDataMaple (data, merge)
 
def python.tools.writeDataVectorMaple (data, filename, format="%s", maple_name="X", check=True)
 
def python.tools.writeGnuplot (filename, grid, alpha, resolution, mode="w", data=None, fvals=None)
 
def python.tools.writeGnuplotFctn (filename, dim, fctn, resolution, mode="w")
 
def python.tools.writeGnuplotGrid (filename, grid)
 
def python.tools.writeGrid (filename, grid)
 
def python.tools.writeLockFile (filename, txt, mode="a")
 
def python.tools.writeNormfile (filename, border, minvals, maxvals)
 
def python.tools.writeStats (filename, txt, mode="a")
 
def python.tools.writeStringToFile (s, filename, check=True)
 

Variables

int python.tools.ARFF = 1
 
dictionary python.tools.base_types
 
dictionary python.tools.CModes
 
int python.tools.NOTAFILE = -1
 
int python.tools.SIMPLE = 0