|
Biorithm
1.1
|
This class takes an input stream of a matrix data file and analyzes the the independence of the columns It uses the lattice class to only count the "all positive" bitpatterns. More...
#include <StandardMiner.h>
Public Member Functions | |
| StandardMiner (float balance=0.5, float support=1.0, unsigned int buffer_size=1000, bool positive=false, BinaryMatrix *tm=NULL) | |
| StandardMiner (const StandardMiner &src) | |
| virtual | ~StandardMiner () |
| virtual StandardMiner & | operator= (const StandardMiner &rhs) |
Protected Member Functions | |
| virtual void | analyzeHelper () |
| virtual bool | analyzeLevel (unsigned int level) |
| virtual void | handlePrinting (unsigned int level) |
Protected Attributes | |
| BSEvaluator * | bse |
This class takes an input stream of a matrix data file and analyzes the the independence of the columns It uses the lattice class to only count the "all positive" bitpatterns.
Header for the Pos Levelwise Truth Miner
| StandardMiner::StandardMiner | ( | float | balance = 0.5, |
| float | support = 1.0, |
||
| unsigned int | buffer_size = 1000, |
||
| bool | positive = false, |
||
| BinaryMatrix * | bm = NULL |
||
| ) |
StandardMiner.cpp The Miner that uses the lattice data structure this lets it only count the positive itemsets
------------------------------- Parameters ------------------------------- float balance The minimum fraction of rows that must comprise a bitpattern float support The fraction of bitpatterns that have to succeed at each level unsigned int buffer_size the amount of combinations allowed to sit in the queue at once
| StandardMiner::StandardMiner | ( | const StandardMiner & | src | ) |
The copy constructor
------------------------------- Parameters ------------------------------- const StandardMiner& src The source Miner
| StandardMiner::~StandardMiner | ( | ) | [virtual] |
Destructor
| void StandardMiner::analyzeHelper | ( | ) | [protected, virtual] |
Analyzes the matrix, one level at a time
--------------------------------- Return --------------------------------- An error message
Implements Miner.
| bool StandardMiner::analyzeLevel | ( | unsigned int | level | ) | [protected, virtual] |
Analyzes a single level
------------------------------- Parameters ------------------------------- unsigned int level The current level
--------------------------------- Return --------------------------------- Whether or not we should continue (whether or not any matches were found)
| void StandardMiner::handlePrinting | ( | unsigned int | prevlevel | ) | [protected, virtual] |
Handle printing
------------------------------- Parameters ------------------------------- unsigned int prevlevel The previous level
| StandardMiner & StandardMiner::operator= | ( | const StandardMiner & | rhs | ) | [virtual] |
The = operator
------------------------------- Parameters ------------------------------- const StandardMiner& rhs The right hand side
--------------------------------- Return --------------------------------- A reference to the Miner
1.7.6.1