#include <MultiRegrMergeMethod.hpp>
Inheritance diagram for lemur::distrib::MultiRegrMergeMethod:
Public Member Functions | |
MultiRegrMergeMethod (double constA=0.714, double constB=0.2857) | |
the default values of constA and constB are the values of CORI merging algorithm | |
~MultiRegrMergeMethod () | |
void | mergeScoreSet (const lemur::api::IndexedRealVector &indexset, const DocScoreVector *const *scoreset, DocScoreVector &results) |
void | calcRegrParams (const lemur::api::IndexedRealVector &indexset, const DocScoreVector *centralscores, const DocScoreVector *const *scoresset) |
Protected Member Functions | |
virtual double | score (double dbscore, double docscore, int dbIndex) const |
create a score for the merge based on the index ranking score and the document score | |
virtual double | score (double dbscore, double docscore) const |
create a score for the merge based on the index ranking score and the document score | |
Protected Attributes | |
double * | parama |
The model parameters. | |
double * | paramb |
double | defParamA |
double | defParamB |
(All the individual databases are using Inquery(CORI) retrieval algorithm. Build a single regression model for all the databases. When there is not enough training data, the algorithm backs off to CORI results merging algorithm. Assume all the documents scores have been normalized See RetrievalMethod for database ranking algorithms (CORIRetMethod). See DistSearchMethod for multiple individual database retrieval. See CORIMergeMethod for CORI results merging algorithm
|
the default values of constA and constB are the values of CORI merging algorithm
|
|
|
|
|
|
calculate the single regression model for all the databases indexset are the database scores for selected databases centralsocres are the central documents scores retrieved by centralized sampling database scoresset are the distributed documents scores retrieved by individual databases Reimplemented from lemur::distrib::DistMergeMethod. |
|
create a score for the merge based on the index ranking score and the document score
Implements lemur::distrib::DistMergeMethod. |
|
create a score for the merge based on the index ranking score and the document score
|
|
|
|
|
|
The model parameters.
|
|
|