Submission

HW2 - Ridge and LASSO (27 points)

Due Wednesday 07/07 at 9:00 pm.

Submit:

You may submit any part of the assignment assignment as many times as you want before the late cutoff (remember submitting after the due date will cost late days).

You may submit any part of the assignment assignment as many times as you want before the late cutoff (remember submitting after the due date will cost late days). To submit on Gradescope, you must press the “Submit and View Submission” button after typing in all of your answers. To submit on EdStem, you should use the Mark button to submit your code.

Please make sure you are familiar with the late day policy and collaboration policy on the syllabus.

Assignment Structure

For each homework assignment, there will usually be two things to submit:

  • A Concept portion that asks you to solve conceptual questions about that week’s material. This part counts towards the Concept Portion of your assignment grade. You will turn in Concept portions on Gradescope.
  • A Programming portion that asks you to answer questions or do an analysis involving programming. This counts towards your Programming portion of your final grade. You will turn in Programming portions on EdStem.

Unlike our practice HW0, this assignment and the remaining will not show you the correct answers when you submit. There are some tests we show you on EdStem to help you ensure the type of your answer is the one we are expecting, but it does not check the correctness of your answers.

TAs will be grading your assignments by hand for any portions that require manual grading and to ensure you wrote code to solving these problems (e.g., rather than typing in hard-coded answers you got from somewhere else).

Concept

Submit

Complete the Concept portion on Gradescope.

Programming

Submit

This and other Programming portions will be using EdStem as your tool to edit and submit your solutions. We will use a programming format known as a “Jupyter Notebooks” this quarter, as they are a common tool amongst data scientists to develop and communicate their results. EdStem supports hosting and running of Jupyter Notebooks, as well as providing us means for autograding them.

When you first visit the assignment, you will get a copy of the starter code (called a “Scaffold”). You will then be freely able to edit your starter code with whatever work you want. You can always reset your code back to the Scaffold by clicking the “…” on the top-right and then “Reset to Scaffold”. But be careful! That will erase all of your current work.

Extra Credit

For this assignment, we have a small extra credit portion. Note that extra credit is meant to be for you to explore further topics outside of what we have you do on the homework assignments. The extra credit does not play a significant part in your grade and you should not do it if your only goal is to get a grade boost (it will not be worth the effort if that’s the case). Please see the syllabus for more information about our extra credit policy.

Submit

You can complete the extra credit portion on EdStem.