Skip to content

Commit 7e888d7

Browse files
authored
Merge pull request #348 from till-m/issue-templates
Add issue templates
2 parents 2432471 + 962e69d commit 7e888d7

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug, enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
Ex: Using `scipy==1.8` with `bayesian-optimization==1.2.0` results in `TypeError: 'float' object is not subscriptable`.
13+
14+
15+
16+
**To Reproduce**
17+
A concise, self-contained code snippet that reproduces the bug you would like to report.
18+
19+
Ex:
20+
```python
21+
from bayes_opt import BayesianOptimization
22+
23+
black_box_function = lambda x, y: -x ** 2 - (y - 1) ** 2 + 1
24+
25+
pbounds = {'x': (2, 4), 'y': (-3, 3)}
26+
27+
optimizer = BayesianOptimization(
28+
f=black_box_function,
29+
pbounds=pbounds
30+
)
31+
optimizer.maximize()
32+
```
33+
34+
**Expected behavior**
35+
A clear and concise description of what you expected to happen.
36+
37+
**Screenshots**
38+
If applicable, add screenshots to help explain your problem.
39+
40+
**Environment (please complete the following information):**
41+
- OS: [e.g. Arch Linux, macOS, Windows]
42+
- `python` Version [e.g. 3.8.9]
43+
- `numpy` Version [e.g. 1.21.6]
44+
- `scipy` Version [e.g. 1.8.0]
45+
- `bayesian-optimization` Version [e.g. 1.2.0]
46+
47+
**Additional context**
48+
Add any other context about the problem here.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is.
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**References or alternative approaches**
17+
If this feature was described in literature, please add references here. Additionally, feel free to add descriptions of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
21+
22+
**Are you able and willing to implement this feature yourself and open a pull request?**
23+
- [ ] Yes, I can provide this feature.

0 commit comments

Comments
 (0)