tensorflow / tensorflow/quantum

How to do regression using gradient?

Open
#488 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/docs help wanted kind/feature-request skill-level/intermediate
Dominant language
Python
Stars
2.2k
Forks
665
PR merge metrics
No merged PRs in 30d

Description

Is it possible to add one example of using gradient to do regression (for example, on sine curves) at the end of these gradient examples in https://www.tensorflow.org/quantum/tutorials/gradients? I would like to learn how to use the gradient after getting the gradient.

Thanks!

Contributor guide

Open the contributing guide

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.

Research direction

Start with the gradient tutorial at tensorflow.org/quantum/tutorials/gradients and review its existing examples and execution instructions. Add a regression example using a sine curve after the current gradient examples, then verify that the tutorial runs and clearly demonstrates how the computed gradient is used for regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.