| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
BitCorrMatGenerator
A class to generate a pariwise correlation matrix between a list of bits
The mode of operation for this class is something like this
>>> cmg = BitCorrMatGenerator()
>>> cmg.SetBitList(blist)
>>> for fp in fpList:
>>> cmg.CollectVotes(fp)
>>> corrMat = cmg.GetCorrMatrix()
The resulting correlation matrix is a one dimensional nummeric array containing the
lower triangle elements
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
__instance_size__ = 28
|
|||
|
|||
|
Inherited from |
|||
|
|||
For each pair of on bits (bi, bj) in fp increase the correlation count for the pair by 1
ARGUMENTS:
- fp : a bit vector to collect the fingerprints from
C++ signature:
CollectVotes(RDInfoTheory::BitCorrMatGenerator*, boost::python::api::object) -> void*
|
Get the correlation matrix following the collection of votes from a bunch of fingerprints
C++ signature:
GetCorrMatrix(RDInfoTheory::BitCorrMatGenerator*) -> _object*
|
Set the list of bits that need to be correllated
This may for example be ther top ranking ensemble bits
ARGUMENTS:
- bitList : an integer list of bit IDs
C++ signature:
SetBitList(RDInfoTheory::BitCorrMatGenerator*, boost::python::api::object) -> void*
|
C++ signature: __init__(_object*) -> void*
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat May 24 08:37:07 2008 | http://epydoc.sourceforge.net |