#include <SingleRegrMergeMethod.hpp>
Inheritance diagram for lemur::distrib::SingleRegrMergeMethod:
Public Member Functions | |
SingleRegrMergeMethod (double constA=0.714, double constB=0.2857) | |
the default values of constA and constB are the values of CORI merging algorithm | |
~SingleRegrMergeMethod () | |
void | calcRegrParams (const lemur::api::IndexedRealVector &indexset, const DocScoreVector *centralscores, const DocScoreVector *const *scoresset) |
Protected Member Functions | |
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 |
(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 |
|
create a score for the merge based on the index ranking score and the document score
Implements lemur::distrib::DistMergeMethod. |
|
The model parameters.
|
|
|