Package PyML :: Package evaluators :: Module assess :: Class Results
[frames] | no frames]

Class Results

source code

object --+    
         |    
      list --+
             |
            Results

Instance Methods
new list
__init__(self, arg=None, classifier=None, **args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__len__(self)
len(x)
source code
 
appendPrediction(self, arg, data, pattern) source code
 
computeStats(self) source code
 
getNumFolds(self) source code
 
setNumFolds(self) source code
 
__getattr__(self, attr) source code
 
get(self, attribute, fold=None) source code
 
getDecisionFunction(self, fold=None) source code
 
getPatternID(self, fold=None) source code
 
getLog(self, fold=None) source code
 
getInfo(self, fold=None) source code
 
convert(self, *options) source code
 
save(self, fileName, *options)
save Results to a file only attributes given in the attribute list are saved
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables
  numFolds = property(getNumFolds, setNumFolds, None, 'number of...
Properties

Inherited from object: __class__

Method Details

__init__(self, arg=None, classifier=None, **args)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns: new list
Overrides: object.__init__
(inherited documentation)

__len__(self)
(Length operator)

source code 

len(x)

Overrides: list.__len__
(inherited documentation)

save(self, fileName, *options)

source code 

save Results to a file only attributes given in the attribute list are saved

OPTIONS:

'long' - use long attribute list
'short' - use short attribute list
using the short attribute list won't allow you to reconstruct
the Results object afterwards, only the statistics that characterize
the results.

Class Variable Details

numFolds

Value:
property(getNumFolds, setNumFolds, None, 'number of folds')