diff --git a/src/autora/experimentalist/sampler/uncertainty/__init__.py b/src/autora/experimentalist/sampler/uncertainty/__init__.py index d7dafb4..03afa57 100644 --- a/src/autora/experimentalist/sampler/uncertainty/__init__.py +++ b/src/autora/experimentalist/sampler/uncertainty/__init__.py @@ -2,7 +2,9 @@ import numpy as np from scipy.stats import entropy -def uncertainty_sampler(X, model, n, measure="least_confident"): +from autora.utils.deprecation import deprecated_alias + +def uncertainty_sample(X, model, n, measure="least_confident"): """ Args: @@ -57,3 +59,5 @@ class labels under the model, respectively. ) return X[idx] + +uncertainty_sampler = deprecated_alias(uncertainty_sample, "uncertainty_sampler")