# How to initialize the first h in an RNN?

Take a Vanilla RNN represented by the function $$h_t = f(h_{t-1}, x_t)$$, how do you determine $$h_0$$?

Edit: This answer over on the stats page has helped.

• Please write out what is relevant from the link. Links go stale, and not everybody is inclined to click around. Make it easy on the answerer! – vonbrand Aug 11 at 21:19