Biorithm
1.1
|
This class takes an input stream of a matrix data file and analyzes the the independence of the columns. More...
#include <SPMiner.h>
Public Member Functions | |
SPMiner (float balance=0.5, float support=1.0, unsigned int buffer_size=1000) | |
SPMiner (const SPMiner &src) | |
virtual SPMiner & | operator= (const SPMiner &rhs) |
Protected Member Functions | |
void | analyzeHelper () |
virtual bool | analyzeLevel (unsigned int level) |
virtual void | analyzeFirstLevel () |
virtual void | analyzeNewLevel (unsigned int level) |
virtual void | countTable (ItemSetMap< int > *result, unsigned int level, unsigned int length) |
virtual bool | hasMatches (unsigned int i, unsigned int j, unsigned int level) |
virtual void | pruneItemSets (ItemSetMap< int > *result, const vector< vector< unsigned int > > &tallies, unsigned int level) |
virtual unsigned int | handlePrinting (unsigned int level) |
Protected Attributes | |
unsigned int | current |
float | balance |
unsigned int | bpreq |
unsigned int | bpreq2 |
float | support |
vector< ItemSet * > | buffer |
unsigned int | buffer_size |
ItemSetMap< int > * | prevSets |
This class takes an input stream of a matrix data file and analyzes the the independence of the columns.
void SPMiner::analyzeHelper | ( | ) | [protected, virtual] |
Analyzes the matrix, one level at a time
Reimplemented from LevelwiseMiner.