-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write summary of 2024 review of probability.
- Loading branch information
1 parent
324a283
commit e5be888
Showing
2 changed files
with
2,392 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
layout: post | ||
title: "Review of Probability" | ||
tags: | ||
- probability | ||
--- | ||
|
||
In class today we reviewed probability. | ||
|
||
You can see a recording of the class [here](https://cardiff.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=aad30b32-807b-4d3c-92db-b21600a57e0b) | ||
|
||
Before the quiz, I asked you how you felt things were going. A number of | ||
students mentioned that there was a bit of a step up in complexity this week. | ||
|
||
> I struggled a bit with the probability coding. | ||
> I understand the code when it is written but trying to write it myself is a challenge | ||
> probability is difficult. tricky to do it intuitively. the container part in | ||
> the loop is confusing | ||
> i know what probability code we are meant to write but i have no clue what it | ||
> does and how to use it | ||
> Still a bit confused about the actual python language and the logic behind some of it | ||
This step is somewhat normal. As one comment said: | ||
|
||
> Felt like we were doing actual coding this week | ||
This is mainly because we are writing code to represent the scenarios | ||
(selecting a token and based on the result flipping a specific probability coin | ||
etc...). The main things to take from this week is defining functions and the | ||
use of if statements. | ||
|
||
If after today's session there is some confusion in place: | ||
|
||
- Please let me know, I can go over things again. | ||
- We will be covering this all again at the start of next semester. | ||
|
||
This week's quiz was won by Dmitry who is apparently also Hacker and Homelander. | ||
|
||
4 usernames have won: | ||
|
||
- Dmitry | ||
- Homelander | ||
- Hacker | ||
- Matt | ||
- Michael | ||
|
||
After the quiz I tackled the coursework like question from the handout. I did | ||
not quite have time to finish it but I have written up the notebook in a way | ||
that hopefully makes things clear. | ||
You can see the notebook here: | ||
[probability.ipynb]({{site.baseurl}}/assets/nbs/2024-2025/probability-review.ipynb) |
Oops, something went wrong.