Package classifiers :: Module q_classifier_r :: Class model_template
[frames] | no frames]

Class model_template

source code


This class describes how to compute the relative probability that a datum is a member of a particular class. It also knows how to package up all necessary information for storage in a file.

Instance Methods
 
logp(self, datum) source code
 
tochunk(self, chunkwriter) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Static Methods
 
fromchunk(chunk) source code
Properties

Inherited from object: __class__

Method Details

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)