Learning stochasticity: a nonparametric framework for intrinsic noise estimation