Probability Distributions and Hilbert Spaces: Quantum and Classical Systems