Our main result is to prove almost-sure convergence of a stochastic-approximation algorithm defined on the space of measures on a noncompact space. Our motivation is to apply this result to ...