Class DFRSimilarityDescriptor
Inheritance
DFRSimilarityDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class DFRSimilarityDescriptor : DescriptorBase<DFRSimilarityDescriptor, IDFRSimilarity>, IDescriptor, IDFRSimilarity, ISimilarity
Methods
|
Edit this page
View Source
AfterEffect(DFRAfterEffect?)
Declaration
public DFRSimilarityDescriptor AfterEffect(DFRAfterEffect? afterEffect)
Parameters
Returns
|
Edit this page
View Source
BasicModel(DFRBasicModel?)
Declaration
public DFRSimilarityDescriptor BasicModel(DFRBasicModel? model)
Parameters
Returns
|
Edit this page
View Source
NoNormalization()
Declaration
public DFRSimilarityDescriptor NoNormalization()
Returns
|
Edit this page
View Source
NormalizationH1(double?)
Normalization model that assumes a uniform distribution of the term frequency.
Declaration
public DFRSimilarityDescriptor NormalizationH1(double? c)
Parameters
Type |
Name |
Description |
double? |
c |
hyper-parameter that controls the term frequency normalization with respect to the document length.
|
Returns
|
Edit this page
View Source
NormalizationH2(double?)
Normalization model in which the term frequency is inversely related to the length.
Declaration
public DFRSimilarityDescriptor NormalizationH2(double? c)
Parameters
Type |
Name |
Description |
double? |
c |
hyper-parameter that controls the term frequency normalization with respect to the document length.
|
Returns
|
Edit this page
View Source
NormalizationH3(double?)
Dirichlet Priors normalization
Declaration
public DFRSimilarityDescriptor NormalizationH3(double? mu)
Parameters
Type |
Name |
Description |
double? |
mu |
smoothing parameter μ.
|
Returns
|
Edit this page
View Source
NormalizationZ(double?)
Pareto-Zipf Normalization
Declaration
public DFRSimilarityDescriptor NormalizationZ(double? z)
Parameters
Type |
Name |
Description |
double? |
z |
represents A/(A+1) where A measures the specificity of the language..
|
Returns
Implements
Extension Methods