Inconsistent interface for weight-clipping

Open
#72 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python, pytorch

Research direction

Start by comparing the sampling, quasi-objective, and forward methods, focusing on how linear/quadratic ranges and weight clipping are handled. Confirm the expected interface for computing energies and define done as consistent clipping behavior across these weight-related methods, including analysis use cases.

Written by the indexing model from the issue text.

Description

enhancement

There's an inconsistent interface for methods that interact with weights.
For example, in sampling and in computing the quasi-objective function, weight clipping is applied when linear/quadratic range is supplied.
However, when computing energies in the forward method, no such option is available.
While computing energies without clipped weights does not impact gradient calculations, it can affect analysis.
Have I described the problem accurately @jquetzalcoatl ?

Dominant language
Python
Stars
41
Forks
26
Avg merge
4d 2h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dwavesystems/dwave-pytorch-plugin

All issues in dwavesystems/dwave-pytorch-plugin

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.