# Categorical Variational Inference

**URL:** https://discourse.edwardlib.org/t/categorical-variational-inference/1038
**Category:** General
**Created:** [February 7, 2019, 9:18pm UTC](https://discourse.edwardlib.org/t/categorical-variational-inference/1038 "2019-02-07T21:18:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Srikanth](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@Srikanth](https://discourse.edwardlib.org/u/Srikanth)
#### Post date: [February 7, 2019, 9:18pm UTC](https://discourse.edwardlib.org/t/categorical-variational-inference/1038/1 "2019-02-07T21:18:44Z")

</div>

How to modify the Categorical distribution to obtain a support over -1,0,1 and not the default 0,1,2 for a three event experiment. Basically I want to apply variational inference by choosing the categorical distribution as my variational posterior. and would want to update its parameters (distribution probabilities)  
and sampling this distribution should give me -1,0 and 1 and not 0,1,2
