Question: Bayesian Scenario by Python: The code will be accessed using two requests: 1) make_me_a_set(n, A, B, B_A) 2) make_me_a_set(n, A, B, B_A, B_notA) Each of

Bayesian Scenario by Python:

The code will be accessed using two requests:

1) make_me_a_set(n, A, B, B_A)

2) make_me_a_set(n, A, B, B_A, B_notA)

Each of these functions should return a pandas data frame which meets the parameters.

Ideally these sets would be randomly generated rather than simply prescribed but it is up to you.

the df will be of form

A, B

1,1

0,1

1,1

....

1 and 0 may be replaced with True and False if you wish.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!