linkedin / linkedin/LiFT

Enable passing Laplace smoothing parameter from higher level APIs

Open
#4 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.