Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Untangle curve of listing 3.4 - 3.5. #23

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ruddyscent
Copy link

  • Change variable name, final_cost to final_coeffs. The final_cost is not cost, but coefficients.
  • Sort x_train and y1 before plotting them. The tangled curve is due to the unordered x_train. I could fix it using np.argsort.
  • Add seed to random for the reproducibility of the result.
  • Set an environment variable to suppress debugging messages from TensorFlow.

- Change variable name, `final_cost` to `final_coeffs`. The `final_cost` is not cost, but coefficients.
- Sort x_train and y1 before plotting them. The tangled curve is due to the unordered `x_train`. I could fix it using `np.argsort`.
- Add seed to random for the reproducibility of the result.
- Set an environment variable to suppress debugging messages from TensorFlow.
- Change variable name, `final_cost` to `final_coeffs`. The `final_cost` is not cost, but coefficients.
- Sort x_train and y1 before plotting them. The tangled curve is due to the unordered `x_train`. I could fix it using `np.argsort`.
- Add seed to random for the reproducibility of the result.
- Set an environment variable to suppress debugging messages from TensorFlow.
@ruddyscent ruddyscent changed the title Untangle curve Untangle curve of listing 3.4 - 3.5. Oct 26, 2021
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.

1 participant