Enable passing Laplace smoothing parameter from higher level APIs
Open
@sriramvasudevan is already working on this.
Since Sep 15, 2020.
enhancement
- Dominant language
- Scala
- Stars
- 173
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
The skew computation and KL divergence metrics accept an alpha parameter to add Laplace smoothing. However, this parameter is not exposed via the higher level APIs. We should be able to supply a custom value of smoothing to apply, since the default of add one smoothing is not always appropriate for a given distribution (eg: add one smoothing for a probability distribution skews it more towards a uniform distribution, while the same smoothing is okay when we're dealing with a distribution of counts).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.