Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add clarifying notes to polynomial tutorials about fit limitations#3668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
patrocinio wants to merge2 commits intopytorch:main
base:main
Choose a base branch
Loading
frompatrocinio:3607_Feedback_about_Warm-up

Conversation

@patrocinio
Copy link
Contributor

Addresses feedback that the 3rd-degree polynomial fit for sin(x) over [-π, π] may be confusing for beginners. Added educational notes explaining that:

  • The example demonstrates gradient descent mechanics, not perfect fitting
  • 3rd-degree polynomials have mathematical limitations for this task
  • Higher-order terms (5th, 7th degree) are needed for better accuracy
  • The imperfect fit is expected and teaches model architecture selection

Fixes#3607

Description

Checklist

  • The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")
  • Only one issue is addressed in this pull request
  • Labels from the issue that this PR is fixing are added to this pull request
  • No unnecessary issues are included into this pull request.

@pytorch-bot
Copy link

pytorch-botbot commentedNov 27, 2025
edited
Loading

🔗 Helpful Links

🧪 See artifacts and rendered test results athud.pytorch.org/pr/pytorch/tutorials/3668

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commitee9fb00 with merge base7f8b6dc (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Addresses feedback that the 3rd-degree polynomial fit for sin(x) over [-π, π]may be confusing for beginners. Added educational notes explaining that:- The example demonstrates gradient descent mechanics, not perfect fitting- 3rd-degree polynomials have mathematical limitations for this task- Higher-order terms (5th, 7th degree) are needed for better accuracy- The imperfect fit is expected and teaches model architecture selection
@patrociniopatrocinioforce-pushed the3607_Feedback_about_Warm-up branch from9dde6aa to7ae350aCompareDecember 3, 2025 15:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Feedback about Warm-up: numpy - on the Polynomial (Mis)Fit Example in the Tensors Tutorial

1 participant

@patrocinio

[8]ページ先頭

©2009-2025 Movatter.jp