Skip to content

Discretized logistic distribution layer#383

Open
DavideScassola wants to merge 6 commits intoapril-tools:mainfrom
DavideScassola:discretized_logistic_layer
Open

Discretized logistic distribution layer#383
DavideScassola wants to merge 6 commits intoapril-tools:mainfrom
DavideScassola:discretized_logistic_layer

Conversation

@DavideScassola
Copy link
Contributor

I have implemented a layer for the discretized logistic distribution, a distribution defined over the integers:

$$\text{logpdf}(x) = \log( \text{cdf}(x + 0.5) - \text{cdf}(x-0.5))$$ where $$\text{cdf}(x) = \frac{1}{1 + e^{-(x-\mu)/\sigma }}$$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant