| Trees | Indices | Help |
|
|---|
|
|
object --+
|
CompositeServer
exposes an interface for composite COM servers This interface does not support modifying the composite, only classifying new examples **Public Methods** - LoadComposite - ClassifyExample - ShowComposite - GetVoteDetails - SetInputOrder - GetDescriptorNames - Close **Public Attributes** None **ProgID** RD.Composite
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
_public_methods_ = ['LoadComposite', 'ClassifyExample', 'ShowC
|
|||
_public_attrs_ = []
|
|||
_reg_clsid_ = '{9F62358E-9043-4BF9-93C7-47BED8BE522F}'
|
|||
_reg_progid_ = "RD.Composite"
|
|||
|
|||
|
Inherited from |
|||
|
|||
Blows out the local composite **Note** _LoadComposite()_ must be called after this for further use of the composite |
Loads a (pickled) composite from a file **Arguments** - fileName: the name of the file to load |
Sets the input order for the composite
this is used so that the composite can remap inputs which are not
in an order it expects
**Arguments**
- colNames: a list of the names of the columns in the data which will be
passed in to the composite
**Notes**
- there must be a column name which matches each of the composite's
descriptors (accessible via _GetDescriptorNames()_)
|
classifies a new example
**Arguments**
- example: a list containing the example to be classified
- threshold: the threshold to be used for high-confidence predictions
**Returns**
a list two elements long:
1) the classification (this will be -1 if the confidence of the prediction
was below _threshold_
2) the confidence
|
|
|||
_public_methods_
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Apr 3 06:05:37 2009 | http://epydoc.sourceforge.net |