HW8 - Document Retrieval (40 points)

Due Friday 05/27 at 11:59 pm.

You may submit any part of the assignment as many times as you want before the late cutoff (remember submitting after the due date will cost late days). Everything must be submitted on Gradescope. 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 three things to submit:

  • A Conceptual portion that asks you to solve conceptual questions about that week’s materials

    • Quiz: You must take it on Gradescope. You have unlimited attempts. The quiz will be autograded but results won’t be released until after the deadline.
    • Written questions: You must submit a typeset PDF on Gradescope and attach the correct pages 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 can write the code locally on EdStem and verify the correctness with an autograder, but you must submit the code with a .py file on Gradescope to finalize your grade.



Please find the written assignment questions here: hw8.pdf

Submit the written questions directly on Gradescope: Written submission


Submit the quiz directly on Gradescope: Quiz submission


Find the Jupyter notebook of the programming assignment here: Jupyter notebook

This and other Programming portions will be using EdStem as your tool to edit your solutions. We will use a programming format known as a “Jupyter Notebook” 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.

After you have passed the EdStem tests, please copy the answer to as indicated in the instruction on EdStem and submit it on Gradescope.

Programming submission [Homework 8: Programming]