def estimate_gaussian(X):
    """
    Returns the mean and the variance of a data set of X points assuming that 
    the points come from a gaussian distribution X.
    """
    mean = np.mean(X,0)
    variance = np.var(X,0)
    return Gaussian(mean,variance)
def estimate_gaussian ( X ) : mean = np . mean ( X , 0 ) variance = np . var ( X , 0 ) return Gaussian ( mean , variance )
Returns the mean and the variance of a data set of X points assuming that 
    the points come from a gaussian distribution X.