Method Idf
Idf(Int64, Int64)
Implemented as log(1 + (numDocs - docFreq + 0.5)/(docFreq + 0.5))
.
Declaration
protected virtual float Idf(long docFreq, long numDocs)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | docFreq | |
System.Int64 | numDocs |
Returns
Type | Description |
---|---|
System.Single |