def get_dataset(dataset, n_samples):
    if (dataset == 'Noisy Circles'):
        return datasets.make_circles(n_samples=n_samples, factor=0.5, noise=0.05)
    elif (dataset == 'Noisy Moons'):
        return datasets.make_moons(n_samples=n_samples, noise=0.05)
    elif (dataset == 'Blobs'):
        return datasets.make_blobs(n_samples=n_samples, random_state=8)
    elif (dataset == 'No Structure'):
        return (np.random.rand(n_samples, 2), None)
def get_dataset(dataset, n_samples):
    if (dataset == 'Noisy Circles'):
        return datasets.make_circles(n_samples=n_samples, factor=0.5, noise=0.05)
    elif (dataset == 'Noisy Moons'):
        return datasets.make_moons(n_samples=n_samples, noise=0.05)
    elif (dataset == 'Blobs'):
        return datasets.make_blobs(n_samples=n_samples, random_state=8)
    elif (dataset == 'No Structure'):
        return (np.random.rand(n_samples, 2), None)