AIGS 1002 Assignment 4

.docx

School

Loyalist College *

*We aren’t endorsed by this school

Course

1002

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

1

Uploaded by DeaconMosquito4213

Report
AIGS 1002 – Assignment 4 Due: Tuesday December 6 th , 2022 Professor: Regan Tracey This assignment consists of 5 questions for a total of 50 points. Please answer questions on paper or typed on word and upload python file separately o If you are not using Jupyter notebook, please copy and paste your code to a word document outlining the answers for each question. Make sure all steps are demonstrated in your solutions for full marks. To upload your assignment to the submission folder on blackboard, you will need to either scan your written solutions or simply upload your word document and python file to the drop box. Please email me if you have any questions at rctracey@loyalistcollege.com Question 1 (10 points): Given coefficients β 0 = -1.7684 and β 1 = 0.21783, calculate the joint likelihood for this data in Python. Question 2 (10 point): (a) Given coefficients β 0 = -1.7684, β 1 = 0.21783 and x = 3, calculate the following: 1. Logistic function, p 2. Odds 3. Log-it 4. Log-Odds (b) Explain the relationship between log-it and log-odds. Question 3 (10 points): Given coefficients β 0 = -1.7684 and β 1 = 0.21783. (a) What is the probability someone quits their job between ten days, x 1 =10 and 20 days, x 2 = 20? (b) Calculate the odds ratio and explain. Question 4 (10 points): Draw a confusion matrix and identify where the true positive, true negative, false positive and false negatives lie. Question 5 (10 points): (a) Given the following confusion matrix, calculate sensitivity and precision. [ 6 3 4 5 ] (b) What is the probability of successfully identifying a true positive.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help