dwavesystems / dwavesystems/dimod
ScaleComposite should accept scaling parameters on construction
Open
enhancement
- Dominant language
- Python
- Stars
- 143
- Forks
- 91
- Avg merge
- 1h 24m
- Merged PRs (30d)
- 3
Description
It would be nice to be able to provide scaling parameters when constructing the ScaleComposite rather than at sample-time
```
sampler = ScaleComposite(child, bias_range=(-1, 1))
```
Ideally we would then be able to override this behaviour when calling `.sample`
```
sampler.sample(bqm, bias_range=(-.5, .5))
```
Contributor guide
Assessment
This issue has not been assessed yet.