Skip to content

Commit

Permalink
Updated import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
chadcwilliams committed May 31, 2023
1 parent c2acfc5 commit 5ded76c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/Basic Usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
2 changes: 1 addition & 1 deletion tests/test_nearest_value_sampler.py
Original file line number Diff line number Diff line change
@@ -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():
Expand Down

0 comments on commit 5ded76c

Please sign in to comment.