Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable passing Laplace smoothing parameter from higher level APIs #4

Open
sriramvasudevan opened this issue Sep 15, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sriramvasudevan
Copy link
Contributor

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).

@sriramvasudevan sriramvasudevan added the enhancement New feature or request label Sep 15, 2020
@sriramvasudevan sriramvasudevan self-assigned this Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant