Git Product home page Git Product logo

dsc-1-08-10-introduction-to-probability-lab's Issues

Edge Case in Probability Axiom Testing

In the testing of probability axioms, it is possible to pass all test cases even if only enforcing the second axiom of probability. Any set containing values less than 0 and/or greater than 1 but summing to 1, e.g. [-1, 2], will obey the second axiom but not the first. This creates an edge case. It would be nice to have a set which creates this edge case in order to enforce more rigorous standards for solving the lab.

Confusing Questions Need Updating / Clarification

Students in the current in person described spending over an hour being confused about the difference between these two questions:

"""
a. What is the probability of throwing a 5 at least once?

First, use sample_dice to get "True" values for each time a 5 occurs.

set_5 = None

Next, make sure that you get a value True for each pair where at least one 5 was thrown.

true_5 = None
print(true_5)
"""

Further clarification about combining booleans and what was intended here is warranted.

Unclear instructions

Now let's try creating your own event space!
A teaching assistant is holding office hours so students can make appointments. She has 6 appointments scheduled today, 3 by male students, and 3 by female students.

Create a NumPy array te say way as we did this for you in the "throwing a dice twice" exercise. It will be quite a bit of typing, as your resulting NumPy array will have a shape (20,6)!

It was unclear of what you were looking for. A prompt of "How many ways can you fill the appointments" or "How many different ways can the students sign up for the appointments" would go a long way here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.