example still uses bqm.iter_variables()
Closed this issue · 0 comments
fionahanington commented
When I run this I get the following deprecation message:
UserWarning: bqm.iter_variables() is deprecated since dimod 0.10.0, use iter(bqm.variables) instead.
for i in bqm.iter_variables())
/workspace/mutual-information-feature-selection/titanic.py:93: DeprecationWarning: bqm.iter_neighbors(v) is deprecated since dimod 0.10.0, use (v for v, _ in bqm.iter_neighborhood(v)) instead.
Can we update example to use Ocean 4?