Constructor LMDirichletSimilarity
LMDirichletSimilarity(LMSimilarity.ICollectionModel, Single)
Instantiates the similarity with the provided µ parameter.
Declaration
public LMDirichletSimilarity(LMSimilarity.ICollectionModel collectionModel, float mu)
Parameters
Type | Name | Description |
---|---|---|
LMSimilarity.ICollectionModel | collectionModel | |
System.Single | mu |
LMDirichletSimilarity(Single)
Instantiates the similarity with the provided µ parameter.
Declaration
public LMDirichletSimilarity(float mu)
Parameters
Type | Name | Description |
---|---|---|
System.Single | mu |
LMDirichletSimilarity(LMSimilarity.ICollectionModel)
Instantiates the similarity with the default µ value of 2000.
Declaration
public LMDirichletSimilarity(LMSimilarity.ICollectionModel collectionModel)
Parameters
Type | Name | Description |
---|---|---|
LMSimilarity.ICollectionModel | collectionModel |
LMDirichletSimilarity()
Instantiates the similarity with the default µ value of 2000.
Declaration
public LMDirichletSimilarity()