provide fall-back for using DAAL 2019.5, no DBSCAN
from .k_means import KMeans
-from .dbscan import DBSCAN
+__all__ = ['KMeans']
-__all__ = ['KMeans', 'DBSCAN']
+try:
+ from .dbscan import DBSCAN
+ __all__ += ['DBSCAN']
+except ImportError:
+ pass
