| 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 |
|||
|
|||
__instance_size__ = 56
|
|||
|
|||
CollectVotes( (BitCorrMatGenerator)arg1, (AtomPairsParameters)arg2) -> None :
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 :
void CollectVotes(RDInfoTheory::BitCorrMatGenerator*,boost::python::api::object)
|
GetCorrMatrix( (BitCorrMatGenerator)arg1) -> object :
Get the correlation matrix following the collection of votes from a bunch of fingerprints
C++ signature :
_object* GetCorrMatrix(RDInfoTheory::BitCorrMatGenerator*)
|
SetBitList( (BitCorrMatGenerator)arg1, (AtomPairsParameters)arg2) -> None :
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 :
void SetBitList(RDInfoTheory::BitCorrMatGenerator*,boost::python::api::object)
|
__init__( (object)arg1) -> None :
C++ signature :
void __init__(_object*)
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |