Skip to content

Commit

Permalink
Deprecated ClusteringResampler.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgranade committed Sep 23, 2016
1 parent 2afc8d4 commit 6239875
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qinfer/resamplers.py
Expand Up @@ -97,6 +97,7 @@ class ClusteringResampler(object):
"""

def __init__(self, eps=0.5, secondary_resampler=None, min_particles=5, metric='euclidean', weighted=False, w_pow=0.5, quiet=True):
warnings.warn("This class is deprecated, and will be removed in a future version.", DeprecationWarning)
self.secondary_resampler = (
secondary_resampler
if secondary_resampler is not None
Expand Down

0 comments on commit 6239875

Please sign in to comment.