Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/data-8/fa24
Browse files Browse the repository at this point in the history
pull changes
  • Loading branch information
ella-deguzman committed Oct 4, 2024
2 parents 1587b10 + f71d0c1 commit cb69e3d
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 35 deletions.
1 change: 1 addition & 0 deletions _announcements/week-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ date: 2024-09-30
* Make sure to add your project partner to your written and autograder submission!
2. **The midterm is on Friday, 10/18, 7-9 PM**
3. **HW 03, Lab 04 Score Release [post](https://edstem.org/us/courses/64093/discussion/5365271)**
4. Project 1 Party on Thursday 6-8PM at Evans 458
24 changes: 12 additions & 12 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sememster: fa24 # set for the current seemester
# (Future) This will control some footer text, and later custom styling.
course_department: dsus
logo: "/data8logo.png"
current_week: 5
current_week: 6
# This should be the page of all class archives
# Typically just / for DS courses (with a visible index page), or /archives if you're hosting your own, or a link to the inst.eecs page
# If you have no archive page, comment this line out or leave blank.
Expand Down Expand Up @@ -217,19 +217,19 @@ links:
lab02: "[Lab 02](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdata-8%2Fmaterials-fa24&branch=main&urlpath=tree%2Fmaterials-fa24%2Flab%2Flab02%2Flab02.ipynb)"
lab03: "[Lab 03](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdata-8%2Fmaterials-fa24&branch=main&urlpath=tree%2Fmaterials-fa24%2Flab%2Flab03%2Flab03.ipynb)"
lab04: "[Lab 04](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdata-8%2Fmaterials-fa24&branch=main&urlpath=tree%2Fmaterials-fa24%2Flab%2Flab04%2Flab04.ipynb)"
lab05: "Lab 05"
lab05: "[Lab 05](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdata-8%2Fmaterials-fa24&branch=main&urlpath=tree%2Fmaterials-fa24%2Flab%2Flab05%2Flab05.ipynb)"
lab06: "Lab 06"
lab07: "Lab 07"
lab08: "Lab 08"
lab09: "Lab 09"
lab10: "Lab 10"
wksht:
wksht01: "[Lab 01 Worksheet](https://drive.google.com/file/d/1SxtXURV9UabpSOtQDvRXy9qb6DxkSBF9/view?usp=sharing)"
wksht02: "[Lab 02 Worksheet](https://drive.google.com/file/d/1jHmmIzs38SDVZ9BO6P7116lv5Tb9uaji/view?usp=sharing)"
wksht03: "[Lab 03 Worksheet](https://drive.google.com/file/d/1J4AME-GGaT6vqnjmOvBBXFC8hB57SJl_/view?usp=sharing)"
wksht04: "[Lab 04 Worksheet](https://drive.google.com/file/d/1nP-MkclyDgtTeh1UBKRvmgMILNCy1MIg/view?usp=sharing)"
wksht05: "[Lab 05 Worksheet](https://drive.google.com/file/d/1bnRdOnbvWW0cgXUnvWgQcTaHfvCZrXco/view?usp=sharing)"
wksht06: ""
wksht01: "[Discussion 01 Worksheet](https://drive.google.com/file/d/1SxtXURV9UabpSOtQDvRXy9qb6DxkSBF9/view?usp=sharing)"
wksht02: "[Discussion 02 Worksheet](https://drive.google.com/file/d/1jHmmIzs38SDVZ9BO6P7116lv5Tb9uaji/view?usp=sharing)"
wksht03: "[Discussion 03 Worksheet](https://drive.google.com/file/d/1J4AME-GGaT6vqnjmOvBBXFC8hB57SJl_/view?usp=sharing)"
wksht04: "[Discussion 04 Worksheet](https://drive.google.com/file/d/1nP-MkclyDgtTeh1UBKRvmgMILNCy1MIg/view?usp=sharing)"
wksht05: "[Discussion 05 Worksheet](https://drive.google.com/file/d/1bnRdOnbvWW0cgXUnvWgQcTaHfvCZrXco/view?usp=sharing)"
wksht06: "[Discussion 06 Worksheet](https://drive.google.com/file/d/1hiCxi9Kddl2f3QwiKuKvOqRRnPI9zSK8/view?usp=sharing)"
wksht07: ""
wksht08: ""
wksht09: ""
Expand All @@ -256,8 +256,8 @@ links:
demo11: "• [Demo](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https://github.com/data-8/materials-fa24&urlpath=tree/materials-fa24/lec/lec11/lec11.ipynb&branch=main)"
demo12: "• [Demo](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https://github.com/data-8/materials-fa24&urlpath=tree/materials-fa24/lec/lec12/lec12.ipynb&branch=main)"
demo13: "• [Demo](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https://github.com/data-8/materials-fa24&urlpath=tree/materials-fa24/lec/lec13/lec13.ipynb&branch=main)"
demo14: ""
demo15: ""
demo14: "• [Demo](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https://github.com/data-8/materials-fa24&urlpath=tree/materials-fa24/lec/lec14/lec14.ipynb&branch=main)"
demo15: "• [Demo](https://data8.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https://github.com/data-8/materials-fa24&urlpath=tree/materials-fa24/lec/lec15/lec15.ipynb&branch=main)"
demo16: ""
demo17: ""
demo18: ""
Expand Down Expand Up @@ -297,8 +297,8 @@ links:
slide11: "[Slides](https://docs.google.com/presentation/d/1RLChbFMU9zCaUmeIipkVvHpBJyufgYxJHNFfLpcVFWM/edit?usp=sharing)"
slide12: "[Slides](https://docs.google.com/presentation/d/1PeGiEe29n6bAX_mAeOrffRm1NvI21KLJYL8u5NBiCmQ/edit?usp=sharing)"
slide13: "[Slides](https://docs.google.com/presentation/d/1g03KPmT194s3jw4BKNBKM4tL-krjWhBBtlL0CgQ7qik/edit?usp=sharing)"
slide14: ""
slide15: ""
slide14: "[Slides](https://docs.google.com/presentation/d/1PSduHebl6HyV0nF35BXX67Vp-BsA4AGtd4FI1Xa-s9o/edit?usp=sharing)"
slide15: "[Slides](https://docs.google.com/presentation/d/1zhcke7aJil27cVT5vRzh6-o-OXwT6oYxi3R3VnQuBgU/edit?usp=sharing)"
slide16: ""
slide17: ""
slide18: ""
Expand Down
6 changes: 3 additions & 3 deletions _modules/week-06.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ status: Active
---
Sep 30
: **14**{: .label} Sampling
: {{site.links.lec.slides.slide15}} {{site.links.lec.demo.demo14}}
: {{site.links.lec.slides.slide14}} {{site.links.lec.demo.demo14}}
: _Reading:_ [9.5](https://inferentialthinking.com/chapters/09/5/Finding_Probabilities.html), [10](https://inferentialthinking.com/chapters/10/Sampling_and_Empirical_Distributions.html)
: **Lab**{: .label .label-lab} {{site.links.lab.lab05}} (Due 10/4)
: {{site.links.wksht.wksht06}}

Oct 2
: **15**{: .label} Models
: {{site.links.lec.slides.slide16}} {{site.links.lec.demo.demo15}}
: {{site.links.lec.slides.slide15}} {{site.links.lec.demo.demo15}}
: _Reading:_ [10.2](https://inferentialthinking.com/chapters/10/2/Sampling_from_a_Population.html), [10.3](https://inferentialthinking.com/chapters/10/3/Empirical_Distribution_of_a_Statistic.html), [10.4](https://inferentialthinking.com/chapters/10/4/Random_Sampling_in_Python.html)

Oct 4
: **16**{: .label} Comparing Distributions
: {{site.links.lec.slides.slide17}} {{site.links.lec.demo.demo16}}
: {{site.links.lec.slides.slide16}} {{site.links.lec.demo.demo16}}
: _Reading:_ [11.1](https://inferentialthinking.com/chapters/11/1/Assessing_a_Model.html), [11.2](https://inferentialthinking.com/chapters/11/2/Multiple_Categories.html)
: **Homework**{: .label .label-homework} {{site.links.hw.hw06}} (Due 10/9)
6 changes: 3 additions & 3 deletions _modules/week-07.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ status: Active

Oct 7
: **17**{: .label} Decisions and Uncertainty
: {{site.links.lec.slides.slide18}} {{site.links.lec.demo.demo17}}
: {{site.links.lec.slides.slide17}} {{site.links.lec.demo.demo17}}
: _Reading:_ [11.3](https://inferentialthinking.com/chapters/11/3/Decisions_and_Uncertainty.html), [11.4](https://inferentialthinking.com/chapters/11/4/Error_Probabilities.html)
: **Lab**{: .label .label-lab} {{site.links.lab.lab06}} (Due 10/11)
: {{site.links.wksht.wksht07}}

Oct 9
: **18**{: .label} A/B Testing
: {{site.links.lec.slides.slide19}} {{site.links.lec.demo.demo18}}
: {{site.links.lec.slides.slide18}} {{site.links.lec.demo.demo18}}
: _Reading:_ [11.4](https://inferentialthinking.com/chapters/11/4/Error_Probabilities.html), [12.1](https://inferentialthinking.com/chapters/12/1/AB_Testing.html)

Oct 11
: **19**{: .label} Causality
: {{site.links.lec.slides.slide20}} {{site.links.lec.demo.demo19}}
: {{site.links.lec.slides.slide19}} {{site.links.lec.demo.demo19}}
: _Reading:_ [12.2](https://inferentialthinking.com/chapters/12/2/Causality.html), [12.3](https://inferentialthinking.com/chapters/12/3/Deflategate.html)
: **Homework**{: .label .label-homework} {{site.links.hw.hw07}} (Due 10/16)
4 changes: 2 additions & 2 deletions _modules/week-08.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ status: Active

Oct 14
: **20**{: .label} Midterm Review I
: {{site.links.lec.slides.slide22}} {{site.links.lec.demo.demo20}}
: {{site.links.lec.slides.slide20}} {{site.links.lec.demo.demo20}}
: **Lab**{: .label .label-lab} Midterm Review

Oct 16
: **21**{: .label} Midterm Review II
: {{site.links.lec.slides.slide22}} {{site.links.lec.demo.demo21}}
: {{site.links.lec.slides.slide21}} {{site.links.lec.demo.demo21}}

Oct 18
: **22**{: .label} Midterm Review
Expand Down
14 changes: 7 additions & 7 deletions _modules/week-13.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ status: Active

Nov 18
: **34**{: .label} Classification
: {{site.links.lec.slides.slide35}} {{site.links.lec.demo.demo34}}
: _Reading:_ [17.1](https://inferentialthinking.com/chapters/17/1/Nearest_Neighbors.html), [17.2](https://inferentialthinking.com/chapters/17/2/Training_and_Testing.html), [17.3](https://inferentialthinking.com/chapters/17/3/Rows_of_Tables.html), [17.4](https://inferentialthinking.com/chapters/17/4/Implementing_the_Classifier.html)
: {{site.links.lec.slides.slide34}} {{site.links.lec.demo.demo34}}
: _Reading:_ [17.1](https://inferentialthinking.com/chapters/17/1/Nearest_Neighbors.html), [17.2](https://inferentialthinking.com/chapters/17/2/Training_and_Testing.html)
: **Lab**{: .label .label-lab} Project 3 Work Time

Nov 20
: **35**{: .label} Evaluating Classifiers
: {{site.links.lec.slides.slide36}} {{site.links.lec.demo.demo35}}
: _Reading:_ [17.5](https://inferentialthinking.com/chapters/17/5/Accuracy_of_the_Classifier.html)
: **35**{: .label} Implementing Classifiers
: {{site.links.lec.slides.slide35}} {{site.links.lec.demo.demo35}}
: _Reading:_ [17.3](https://inferentialthinking.com/chapters/17/3/Rows_of_Tables.html), [17.4](https://inferentialthinking.com/chapters/17/4/Implementing_the_Classifier.html)

Nov 22
: **36**{: .label} Multiple Linear Regression
: **36**{: .label} Evaluating Classifiers
: {{site.links.lec.slides.slide36}} {{site.links.lec.demo.demo36}}
: _Reading:_ [17.6](https://inferentialthinking.com/chapters/17/6/Multiple_Regression.html)
: _Reading:_ [17.5](https://inferentialthinking.com/chapters/17/5/Accuracy_of_the_Classifier.html)
: **Homework**{: .label .label-homework} {{site.links.hw.hw12}} (Due 11/26)
3 changes: 2 additions & 1 deletion _modules/week-14.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ status: Active
---

Nov 25
: **37**{: .label} Case Study: Privacy
: **37**{: .label} Multiple Linear Regression
: {{site.links.lec.slides.slide37}} {{site.links.lec.demo.demo37}}
: _Reading:_ [17.6](https://inferentialthinking.com/chapters/17/6/Multiple_Regression.html)

Nov 27
: **Holiday**{: .label} No class
Expand Down
10 changes: 8 additions & 2 deletions _schedules/weekly.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ timeline:
- '4:30 PM'
- '5:00 PM'
- '5:30 PM'
- '6:00 PM'
- '8:00 PM'
schedule:
- name: Monday
events:
Expand Down Expand Up @@ -59,11 +61,15 @@ schedule:
start: 10:00 AM
end: 2:00 PM
location: Warren 101-B
- name: Office Hours
start: 6:00 PM
end: 8:00 PM
location: Evans 458 (Project Party!)
- name: Friday
events:
- name: Instructor Office Hours
start: 11:10 AM
end: 12:00 PM
start: 9:00 AM
end: 9:50 AM
location: Evans 323
- name: Lecture
start: 10:00 AM
Expand Down
1 change: 0 additions & 1 deletion _staffers/ankita_b.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Ankita Biyani
email: [email protected]
pronouns: SHE/HER
photo: staff/ankita_b.jpeg
website: NA
bio: Hi! I’m Ankita, and I’m a sophomore studying Cognitive Science & Data Science. In my free-time, I love to listen to music, watch movies, and try new cooking recipes!
role: Tutor (UCS1)
---
5 changes: 4 additions & 1 deletion debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ description: >-
If one particular cell seems to cause your kernel to die, your code is probably incorrect in a way that is causing the computer to use more memory than it has available. For instance: your code is trying to create a gigantic array. To prevent from crashing the entire server, the kernel will “die”. This is an indication that there is a mistake in your code that you need to fix.

### My python code cell has turned into a text/markdown cell. How do I change it back?
Click on the cell and select `Run > Cell Type > Change to Code Cell Type` in the top toolbar.
Click on the cell and select `Markdown > Code` in the top toolbar. Alternatively, click on the cell and press `y`.

### My markdown text cell has turned into a code cell. How do I change it back?
Click on the cell and select `Code > Markdown` in the top toolbar. Alternatively, click on the cell and press `m`.

### How do I quickly run all the cells in a notebook?
Go to the Cell menu in the top toolbar, then “Run All.” You can also select a certain cell and run all cells before this point, or run all cells after this point. You should run all the cells in your notebook before submitting to confirm that you pass all the tests.
Expand Down
6 changes: 3 additions & 3 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ description: >-
Python Reference Guide
---

# **Detailed Python Reference**
# **Detailed Python Reference Sheet**

{:.no_toc}
Created by Nishant Kheterpal and Jessica Hu,
Updated and Mantained by Jonathan Ferrari and Edwin Vargas
Updated and Maintained by Jonathan Ferrari and Edwin Vargas

## Table of Contents
{: .no_toc .text-delta }
Expand All @@ -29,7 +29,7 @@ For Fall 2024, students will receive an abbreviated reference sheet for exams.
---

## Table Functions and Methods
In the examples in the left column, `np` refers to the NumPy module, as usual. Everything else is a function, a method, an example of an argument to a function or method, or an example of an object we might call the method on. For example, `tbl` refers to a table, `array` refers to an array, and `num` refers to a number. `array.item(0)` is an example call for the method item, and in that example, `array` is the name previously given to some array.
In the examples in the left column, `np` refers to the NumPy module, as usual. Everything else is a function, a method, an example of an argument to a function or method, or an example of an object we might call the method on. For example, `tbl` refers to a table, `array` refers to an array, `str` refers to a string, and `num` refers to a number. `array.item(0)` is an example call for the method item, and in that example, `array` is the name previously given to some array.

| **Name** | **Description** | **Input** | **Output** |
| `Table()` | Create an empty table, usually to extend with data ([Ch 6](https://inferentialthinking.com/chapters/06/Tables.html)) | None | An empty **Table** |
Expand Down

0 comments on commit cb69e3d

Please sign in to comment.