diff --git a/README.md b/README.md index 829964a..26fbe2a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A sampler which returns the nearest values between the input samples and the all # Example Code ``` -from autora.experimentalist.sampler.nearest_value_sampler import nearest_values_sampler +from autora.experimentalist.sampler.nearest_value import nearest_values_sampler import numpy as np #Meta-Setup diff --git a/docs/Basic Usage.ipynb b/docs/Basic Usage.ipynb index 46eb854..fdce56b 100644 --- a/docs/Basic Usage.ipynb +++ b/docs/Basic Usage.ipynb @@ -28,7 +28,7 @@ "source": [ "import numpy as np\n", "import matplotlib.pyplot as plt\n", - "from autora.experimentalist.sampler.nearest_value_sampler import nearest_values_sampler" + "from autora.experimentalist.sampler.nearest_value import nearest_values_sampler" ] }, { diff --git a/docs/index.md b/docs/index.md index 5d002ed..c815846 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,7 +5,7 @@ A sampler which returns the nearest values between the input samples and the all # Example Code ``` -from autora.experimentalist.sampler.nearest_value_sampler import nearest_values_sampler +from autora.experimentalist.sampler.nearest_value import nearest_values_sampler import numpy as np #Meta-Setup diff --git a/docs/quickstart.md b/docs/quickstart.md index 93021ff..ae254f8 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -7,11 +7,11 @@ You will need: *Nearest-Value-Sampler is a part of the `autora` package: ```shell -pip install -U autora["experimentalist-sampler-nearest-value-sampler"] +pip install -U autora["experimentalist-sampler-nearest-value"] ``` Check your installation by running: ```shell -python -c "from autora.experimentalist.sampler.nearest_value_sampler import nearest_values_sampler" +python -c "from autora.experimentalist.sampler.nearest_value import nearest_values_sampler" ``` diff --git a/tests/test_nearest_value_sampler.py b/tests/test_nearest_value_sampler.py index 674aafc..ece81a2 100644 --- a/tests/test_nearest_value_sampler.py +++ b/tests/test_nearest_value_sampler.py @@ -1,4 +1,4 @@ -from autora.experimentalist.sampler.nearest_value_sampler import nearest_values_sampler +from autora.experimentalist.sampler.nearest_value import nearest_values_sampler import numpy as np def test_output_dimensions():