Skip to content

Conversation

@duguanyue
Copy link

@duguanyue duguanyue commented Dec 24, 2019

In regression/main.py, the method poly_desc() creates a string description of a polynomial.
IMO, the polynomial coefficients should be from 1 up to 4, not 4 to 1, because make_features() method create a matrix with columns [x, x^2, x^3, x^4].

@soumith soumith merged commit 355ffd0 into pytorch:master Mar 5, 2020
@soumith
Copy link
Member

soumith commented Mar 5, 2020

thanks!

YinZhengxun pushed a commit to YinZhengxun/mt-exercise-02 that referenced this pull request Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants