# Path: xam/preprocessing/binning/base.py
# class BaseUnsupervisedBinner(BaseBinner):
# 
#     def fit(X, y=None, **fit_params):
#         raise NotImplementedError


import numpy as np
from sklearn.utils import check_array
from .base import BaseUnsupervisedBinner
"""
Bayesian blocks binning. Good for visualization.

References:
    - http://adsabs.harvard.edu/abs/2012arXiv1207.5578S
    - https://jakevdp.github.io/blog/2012/09/12/dynamic-programming-in-python/
"""





# Path: xam/preprocessing/binning/base.py
# class BaseUnsupervisedBinner(BaseBinner):
# 
#     def fit(X, y=None, **fit_params):
#         raise NotImplementedError


# Path: xam/preprocessing/binning/bayesian_blocks.py
import numpy as np
from sklearn.utils import check_array
from .base import BaseUnsupervisedBinner

"""
Bayesian blocks binning. Good for visualization.

References:
    - http://adsabs.harvard.edu/abs/2012arXiv1207.5578S
    - https://jakevdp.github.io/blog/2012/09/12/dynamic-programming-in-python/
"""





class BayesianBlocksBinner(BaseUnsupervisedBinner):