Skip to content
Snippets Groups Projects
Unverified Commit 958cee41 authored by Shamith Achanta's avatar Shamith Achanta Committed by GitHub
Browse files

Update README.md

parent 83fa32c3
No related branches found
No related tags found
No related merge requests found
...@@ -249,13 +249,21 @@ load_logs(new_optimizer, logs=["./logs.json"]); ...@@ -249,13 +249,21 @@ load_logs(new_optimizer, logs=["./logs.json"]);
``` ```
## 5. Plotting ## 5. Plotting
For plotting the f(x) aganist the number of evaluations * For plotting the f(x) aganist the number of evaluations
```python ```python
from bayes_opt.plotter import JSONPlotter from bayes_opt.plotter import JSONPlotter
JSONPlotter(log_file, plot_file, func_name) JSONPlotter(log_file, plot_file, func, x_eval=True)
``` ```
* For plotting the f(x) aganist the first dimensional input (x1)
```python
from bayes_opt.plotter import JSONPlotter
JSONPlotter(log_file, plot_file, func, x_eval=False)
```
## Next Steps ## Next Steps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment