#NEWLINE# def sample_from_prior( self , n_samples ) : #NEWLINE# #INDENT# '\n        Returns N samples from the prior.\n\n        Parameters\n        ----------\n        n_samples : int\n            The number of samples that will be drawn.\n\n        Returns\n        -------\n        (N, D) np.array\n            The samples from the prior.\n        ' #NEWLINE# p0 = np . random . normal ( loc = n_samples . mean , scale = self . sigma , size = n_samples ) #NEWLINE# return p0 [ : , np . newaxis ]