public class KLDivDocDistance extends AbstractDocDistance
Document distance measure of using KL divergence
Copyright: Copyright (c) 2005
Company: IST, Drexel University
featureFilter, matrix| Constructor and Description |
|---|
KLDivDocDistance(DoubleSparseMatrix docModelMatrix) |
KLDivDocDistance(DoubleSparseMatrix doctermMatrix,
double normThreshold) |
KLDivDocDistance(IndexReader indexReader,
DoubleSparseMatrix docModelMatrix) |
KLDivDocDistance(IndexReader indexReader,
DoubleSparseMatrix doctermMatrix,
double normThreshold) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance(IRDoc first,
IRDoc second) |
getFeatureFilter, setFeatureFilterpublic KLDivDocDistance(DoubleSparseMatrix docModelMatrix)
public KLDivDocDistance(DoubleSparseMatrix doctermMatrix, double normThreshold)
public KLDivDocDistance(IndexReader indexReader, DoubleSparseMatrix docModelMatrix)
public KLDivDocDistance(IndexReader indexReader, DoubleSparseMatrix doctermMatrix, double normThreshold)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.