What is the difference between uncertainty and stochasticity?



As far as I know, both of the terms signify non-deterministic nature. But if they are the same, why two different names?


The difference is really in the meaning of both. First represents unawareness while the other randomness. In terms of data, first is usually about input of data while the other is about output of data.