Skip to content
Snippets Groups Projects
Commit 8b9458dc authored by Anna Meyer's avatar Anna Meyer
Browse files

p11 p12

parent 2b95740d
No related branches found
No related tags found
No related merge requests found
Showing
with 74 additions and 0 deletions
# Lab 11: Scatter Plots and Recursion
In this lab, you'll get practice with creating scatter plots and defining recursive functions, in preparation for P11.
-----------------------------
## Corrections/Clarifications
**Find any issues?** Let Jane know during lab or create a post on Piazza
------------------------------
## Learning Objectives
In this lab, you will practice...
* creating scatter plots,
* defining recursive functions.
------------------------------
## Note on Academic Misconduct
You may do these lab exercises with only your project partner; you are not allowed to start
working on Lab 11 with one person, then do the project with a different partner. Now may be a
good time to review [our course policies](https://canvas.wisc.edu/courses/355767/pages/syllabus?module_item_id=6048035).
**Important:** P10 and P11 are two parts of the same data analysis.
You **cannot** switch project partners between these two projects.
If you partnered up with someone for P10, you have to sustain that partnership until the end of P11.
------------------------------
## Segment 1: Setup
Create a `lab11` directory and download the following files into the `lab11` directory.
* `sample_data.zip`
* `planets_small.json`
* `practice.ipynb`
* `practice_test.py`
* `practice_plots.json`
After downloading `sample_data.zip`, make sure to extract it (using [Mac directions](http://osxdaily.com/2017/11/05/how-open-zip-file-mac/) or [Windows directions](https://support.microsoft.com/en-us/help/4028088/windows-zip-and-unzip-files)). After extracting, you should see a folder called `sample_data`. You may delete `sample_data.zip` after extracting the files inside it.
**Important**: You **must** make sure that the `sample_data` directory is in the same directory as `practice.ipynb`. Your file structure **must** look like this:
```
+-- practice.ipynb
+-- planets_small.json
+-- practice_test.py
+-- practice_plots.json
+-- sample_data
| +-- .DS_Store
| +-- file_1.json
| +-- sample_1
| | +-- .ipynb_checkpoints
| | +-- file_2.json
| | +-- file_3.json
| +-- sample_2
| | +-- file_4.json
| | +-- sample_3
| | | +-- .DS_Store
| | | +-- file_5.json
```
## Segment 2:
For the remaining segments, detailed instructions are provided in `practice.ipynb`. From the terminal, open a `jupyter notebook` session, open your `practice.ipynb`, and follow the instructions in `practice.ipynb`.
## Project 11
You can now get started with [P11](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-lecture-material/-/tree/main/sum23/projects/p11). **You may copy/paste any code created here in project P11**. Remember to work on P11 with only your partner from this point on. Have fun!
# Images
Images from lab11 are stored here.
sum23/labs/lab11/images/color-example.png

10.1 KiB

sum23/labs/lab11/images/multiple-example.png

10.2 KiB

sum23/labs/lab11/images/q1-1.png

10.1 KiB

sum23/labs/lab11/images/q1-2.png

10.1 KiB

sum23/labs/lab11/images/q10.png

55.1 KiB

sum23/labs/lab11/images/q11.png

43 KiB

sum23/labs/lab11/images/q12.png

40.5 KiB

sum23/labs/lab11/images/q2-1.png

10.1 KiB

sum23/labs/lab11/images/q2-2.png

10.8 KiB

sum23/labs/lab11/images/q5.png

16.8 KiB

sum23/labs/lab11/images/q6.png

24.3 KiB

sum23/labs/lab11/images/q7-1.png

17.3 KiB

sum23/labs/lab11/images/q7-2.png

24.6 KiB

sum23/labs/lab11/images/q8.png

23.8 KiB

sum23/labs/lab11/images/q9.png

49.5 KiB

sum23/labs/lab11/images/size-example.png

10.4 KiB

sum23/labs/lab11/images/squares.PNG

10.4 KiB

sum23/labs/lab11/images/squares_labelled.PNG

11.3 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment