These are the solutions for Section 4 of the Machine Learning in JavaScript with TensorFlow.js course. See solutions index for solutions to other sections.
This is the first lab for the Linear Regression project which is developed further over the next 3 sections.
At the end of this lab, your code should look similar to linear-section-4-checkpoint.html.
See solutions index for solutions to other sections.