# Path: kenchi/datasets/base.py
# NEG_LABEL   = -1
# 
# POS_LABEL   = 1
# 
# Path: kenchi/utils.py
# def check_contamination(contamination, low=0., high=0.5):
#     """Raise ValueError if the contamination is not valid."""
# 
#     if contamination != 'auto' and not low < contamination <= high:
#         raise ValueError(
#             f'contamination must be in (low, high] but was {contamination}'
#         )


import numpy as np
from sklearn.datasets import make_blobs as _make_blobs
from sklearn.utils import check_random_state, shuffle as _shuffle
from .base import NEG_LABEL, POS_LABEL
from ..utils import check_contamination


__all__ = ['make_blobs']


def make_blobs(
    centers=5, center_box=(-10., 10.), cluster_std=1., contamination=0.02,
    n_features=25, n_samples=500, random_state=None, shuffle=True

# Path: kenchi/datasets/base.py
# NEG_LABEL   = -1
# 
# POS_LABEL   = 1
# 
# Path: kenchi/utils.py
# def check_contamination(contamination, low=0., high=0.5):
#     """Raise ValueError if the contamination is not valid."""
# 
#     if contamination != 'auto' and not low < contamination <= high:
#         raise ValueError(
#             f'contamination must be in (low, high] but was {contamination}'
#         )


# Path: kenchi/datasets/samples_generator.py
import numpy as np
from sklearn.datasets import make_blobs as _make_blobs
from sklearn.utils import check_random_state, shuffle as _shuffle
from .base import NEG_LABEL, POS_LABEL
from ..utils import check_contamination



__all__ = ['make_blobs']


def make_blobs(
    centers=5, center_box=(-10., 10.), cluster_std=1., contamination=0.02,
    n_features=25, n_samples=500, random_state=None, shuffle=True

):